Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am getting error as I am working with this Feed source .
In my Source file CSV the categories are in format - home-garden:Home & Garden,home-garden~beds:Beds.
AND home-garden:Home & Garden,home-garden~sofas:SOFAS
How can I use Feed tamper to feed import all products with the above categories into Destination category structure . Home Garden > Beds and Home Garden > Sofas
Basically sofas added to Sofas sub category as well as Home and Garden Main category . same applied to Beds as well .
Thanks
Comments
Comment #1
twistor CreditAttribution: twistor as a volunteer commentedAre you trying to import the taxonomy hierarchy? If so, Feeds tamper doesn't have anything to do with that.
Feeds offers support for importing the taxonomy hierarchy in various ways.
Comment #2
aus007 CreditAttribution: aus007 commentedI do not have issues with Import . With Feeds Tamper, I am just looking right plugin or proper method to filter the required information.
in my case the Source file CSV the categories are in format - home-garden:Home & Garden,home-garden~beds:Beds.
AND home-garden:Home & Garden,home-garden~sofas:SOFAS
How can I use Feed tamper to seperate BEDS and SOFAS out of this example .
Comment #3
twistor CreditAttribution: twistor as a volunteer commentedSorry, there are no Major support requests.
Filtering in feeds_tamper is when feed items are removed, so I don't think that's what you want.
I would have to see the CSV file exactly, to know if this will work, but you could try the regex find/replace plugin with a find like:
.*?:([\w]+)$
and replace:
$1