Hi David
As you know we have seperated our comparison results and voucher/offers etc We want to add voucher codes for merchants that are not in the comparison results "i.e. no feed", any idea how we would do this as we usually select the merhant from the drop down when adding a code but if they ar enot in the comparison results we can't do that.
Thanks
Stuart
Hi Stuart,
The voucher code system is so tightly integrated with the products table i'm afraid that there really has to be a merchant <> voucher association within the database. However, perhaps what would be just as useful - and give you the full flexibility to add whatever information you want regarding non-merchant vouchers (as otherwise you would be restricted to the programmatic fields) would be top add a custom coupons HTML file. To do this, create the file as
html/couponsCustom.php containing your text e.g.
<h3>Save £10 at Merchant ABC</h3>
<p>Offer details etc.</p>
<h3>20% OFF at Merchant DEF</h3>
<p>Offer details etc.</p>
And then in vouchers.php look for the following code at line 64:
require("html/coupons.php");
...and REPLACE with:
require("html/couponsCustom.php");
Hope this helps!
Cheers,
David.
--
PriceTapestry.com