Hi David,
Yes, yet another question haha. Do you know if anyone else has feeds where some products are listed with a price range? One of my feeds sometimes lists multiple items on one line. Say for instance a bulk item. They'll list a price range in the feed that says 5.99 - 10.99. What should I do with these items? I could drop one of the prices (probably the highest one, it wouldn't be a huge deal)...or...well that's really the only idea I have. What do you think?
Thanks a lot, -Joe
Hi Joe,
Yes - the easiest way to extract the first price I think would be to add the "Explode" filter to your site from this thread:
http://www.pricetapestry.com/node/898
However, before using it against the price field, you would need to change the order of user and standard filters, putting user filters first.
To do this, look for the corresponding sections in includes/admin.php that begin with the following comments:
/* apply standard filters */
(line 158)
...and
/* apply user filters */
(line 180)
...and swap these sections around. If you're not sure, email me the file and i'll make the changes for you.
With the above in place, you can then register an "Explode" filter against the Price field, and enter "-" (without the quotes) as the Explode Character or String, and 0 as the Return Index...
Cheers,
David.