• Resolved s2ontwerp

    (@s2ontwerp)


    Is it possible to choose to only import to existing categories while not creating new categories (exact matching)?
    Basically I need a more strict setting compared to “>> Try to match terms to existing child Product Categories”, which filters out records if they do not match on pre-existing categories of child product categories.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hey @s2ontwerp

    You can use our ‘pmxi_single_category’ hook for this. Here are a couple of examples: https://paste.ee/p/9StwB

    Thread Starter s2ontwerp

    (@s2ontwerp)

    Awesome, that brings me one step closer to my goal.

    Is it also possible to apply a bit of fuzzy matching at the beginning and the end of the taxonomy name?

    Thread Starter s2ontwerp

    (@s2ontwerp)

    Alternatively, could I perhaps use wildcards in category mapping to take a different approach? For instance, if I want to map a certain group of products into an overlapping child category and parent category, based on model and brand:
    Bosch Boormachine GBM 1600 RE Professional
    Bosch Boormachine GBM 6 RE Professional
    Bosch Boormachine GBM 13 HRE Professional
    Bosch Boormachine GBM 130 HRE Professional

    Mapped in your file:
    ‘Bosch Boormachine GBM *’
    Translated to:
    ‘Bosch Boormachine GBM’

    Would this be possible to do with mapping?

    Plugin Author WP All Import

    (@wpallimport)

    Hey @s2ontwerp

    This wouldn’t be possible in our dedicated mapping section, but you could use a custom PHP function in the import to map it yourself.

    Depending on your data, you might need to do it differently, but here’s a really basic example: https://paste.ee/p/LyyVb

    With this, if you called [soflyy_map_cat({category[1]})] when {category[1]} equals “Bosch Boormachine GBM 130 HRE Professional” (for example), it would return only “Bosch Boormachine GBM”.

    Thread Starter s2ontwerp

    (@s2ontwerp)

    Thanks a lot for creating this amazing plug-in and giving top-class support to your paying users! I wish nothing but the best to your team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Import to existing categories, do not create new’ is closed to new replies.