Hi David,
I want to put a line break <br>
before and after the voucher code where I display the voucher codes alongside the discounted price on my site. At the moment I am putting the tags before and after the actual voucher code where I create a new one, but I keep forgetting to do it.
Where can I insert the tag in the tapestry code so I don't have to add it manually every time? I have tried adding them in tapestry.php but I couldn't get it to work.
Thanks
Eddie
Hi Eddie,
If this isn't what you have already tried, in includes/tapestry.php look for the following code at line 260:
$products[$k]["voucher_code"] = $product["voucher_code"];
...and REPLACE with:
$products[$k]["voucher_code"] = "<br />".$product["voucher_code"]."<br />";
Hope this helps!
Cheers,
David.
--
PriceTapestry.com