Is it possible in the admin section for the merchant logos to show what logos are missing and need adding??
cheers
Hello Jonny,
Sure! In admin/merchant_logos.php first look for the following code at line 58:
print "<th align='left'>".$row["merchant"]."</th>";
...and REPLACE that with:
print "<th align='left'>".$row["merchant"]."</th>"; $haveLogo[$row["merchant"]] = 1;
Finally, look for the following code at line 74:
print "<h3>Upload Merchant Logo</h3>";
...and REPLACE with:
print "<h3>Missing Logos</h3>"; foreach($rows as $row) { if (!$haveLogo[$row["merchant"]]) { print "<p>".$row["merchant"]."</p>"; } } print "<h3>Upload Merchant Logo</h3>";
Cheers, David. -- PriceTapestry.com
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hello Jonny,
Sure! In admin/merchant_logos.php first look for the following code at line 58:
print "<th align='left'>".$row["merchant"]."</th>";
...and REPLACE that with:
print "<th align='left'>".$row["merchant"]."</th>";
$haveLogo[$row["merchant"]] = 1;
Finally, look for the following code at line 74:
print "<h3>Upload Merchant Logo</h3>";
...and REPLACE with:
print "<h3>Missing Logos</h3>";
foreach($rows as $row)
{
if (!$haveLogo[$row["merchant"]])
{
print "<p>".$row["merchant"]."</p>";
}
}
print "<h3>Upload Merchant Logo</h3>";
Cheers,
David.
--
PriceTapestry.com