On the product page under "Best price € XX" I wanted to insert the name of the shop inside the button so that people can click more easily with the writing "buy it on" store name "
How can I do?
I wanted to create a button immediately after the 749.00 price. I have tried but I have not succeeded.
Hello Tobix,
Ah I understand, try something like this - 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:
$html = "<a class='button tiny success radius' href='".tapestry_buyURL($p)."'>Buy it from ".$p["merchant"]."</a>";
And then the following code at line 23:
$product_bestPriceMerchants = implode(", ",$product_bestPriceMerchants);
...and REPLACE with:
$product_bestPriceMerchants = implode("<br />",$product_bestPriceMerchants);
And finally the following code at line 66:
<?php print tapestry_price($product_main["price"]); ?> <?php print translate("from"); ?>
...and REPLACE with:
<?php print tapestry_price($product_main["price"]); ?><br /><br />
Hope this helps!
Cheers,
David.
--
PriceTapestry.com
Hi Tobix,
The default product page shows each merchant with the same best price next to the "Best price.." text e.g.
http://www.webpricecheck.co.uk/product/SONY-KD55XG8505BU.html
...so I wanted to make sure I understand where you want to put the merchant name - can you post the HTML you added to make the button and I'll check it out for you...
Thanks,
David.
--
PriceTapestry.com