Hi David
How can I insert the Marchent logo instead of MarchentName in "product.php"? I can not make it.
Thanks and Greetings
Marco
<?php print $product_bestPriceText; ?>:
<?php print tapestry_price($product_main["price"]); ?> <?php print translate("from"); ?>
<?php print $product_bestPriceMerchants; ?>
Hi Marco,
Sure - edit html/product.php and look for the following code at line 12:
$html = "<a href='".tapestry_buyURL($p)."'>".$p["merchant"]."</a>";
...and REPLACE with:
if (file_exists("logos/".$p["merchant"].$config_logoExtension))
{
$html = "<a href='".tapestry_buyURL($p)."'><img src='".$config_baseHREF."logos/".$p["merchant"].$config_logoExtension."' /></a>";
}
else
{
$html = "<a href='".tapestry_buyURL($p)."'>".$p["merchant"]."</a>";
}
Cheers,
David.
--
PriceTapestry.com