Hi David
Is there a way for me to add a merchant that has not had a feed imported.
I want to be able to add merchants to the "merchant logo" section and my online deals / voucehr codes section
http://www.mydogworld.co.uk/dog-shop/online-deals.php but neccesarily include them in price comparison
Regards
Stuart
Hi Stuart,
The voucher codes edit script can be easily modified to let you enter the merchant details in a text box if not a merchant that is present on your site. In admin/voucher_codes_edit.php, look for the following code at line 32:
widget_required("merchant");
...and REPLACE with:
if (!$_POST["merchant"]) $_POST["merchant"] = $_POST["merchant_manual"];
widget_required("merchant");
Then look for the following code at line 199:
widget_selectArray("merchant",$merchants,$default,"Select..");
...and REPLACE with:
widget_selectArray("merchant",$merchants,$default,"Select..");
print " or <input type='text' name='merchant_manual' />";
Then you'll be able to enter a merchant name manually instead of selecting from the drop-down box. For the logo, simply upload the logo file manually to /logos/ with the exact name as entered, including spaces just as per datafeed merchants.
Hope this helps!
Cheers,
David.
--
PriceTapestry.com