Hi,
Can with this plugin I for instance filter my feed-items on price. Or are you willing to add this functionality?
Say I have a xml file with 10.000 products, and only 500 have a price-field which is above $10,-
Can I with your plugin filter to only import the 500 products with a price egual or above $10,-?
Thanks a lot in advance for your reply!
Greetings, Martijn
Comments
Comment #1
OnkelTem commentedNo, it can't do this since it's not about filtering at all, its about calculations.
Feeds Tamper (for which this plugin is created) itself is not for managing import process.
Please use Rules for your task.
1) Create a rule for event "[your importer] pre save"
2) Add price test into there and use action which cancels importing the item (I forgot it's name)
Comment #2
summit commentedHi,
Do you mean this module http://drupal.org/project/feeds_rules?
And something like http://drupal.stackexchange.com/questions/56814/how-to-set-a-specific-ta... ?
Do you know where I can get an example for price to work from?
Thanks a lot for your quick reply!
Greetings, Martijn
Comment #3
OnkelTem commentedIIRC you don't need any module except Rules itself. Also I recommend to look at Rules Conditional module as it extends Rules logic dramatically.
Yes, exactly.
Randy Fay recorded some excellent Drupal screencasts: http://vimeo.com/user5912539/videos/sort:likes/format:thumbnail
There are few about using Rules.
Comment #4
summit commentedHi, I will look into this, thanks for the info!
Edit: Did it with rules.
Greetings, Martijn