Hi David
Using v. 12/10b. I want to set up a global filter so that only pink products are imported, so whenever the word pink is in either the product name or description, or in both fields.
I realise I have to add or change some code to includes/admin.php below /* apply user filters */ but just not sure what it should be!!
TIA
Jill
Thanks David! Will set it up tomorrow :)
---------
Jill
Hi Jill,
At the point you have identified, have a go with:
if (stripos($importRecord["name"].$importRecord["description"],"pink") === FALSE) return;
(using stripos makes the test case insensitive)
Cheers,
David.
--
PriceTapestry.com