• Resolved Tom34

    (@arcade-games)


    1) I have two categories where I need to set the gender to female and the rest unisex.

    I saw this solution but this just works for one category since AND or OR are missing?
    https://www.ads-software.com/support/topic/how-to-set-age_group-based-on-certain-category/

    I added the custom field gender. Should I treat the Rules as if they are processed sequentially maybe?

    2) I’d like to “only include” white and black colored items. Can I somehow add multiple values to “is equal to”?

    3) Also what does the CS checkbox do? I didn’t find it in the help file

    thank you

    • This topic was modified 5 years, 5 months ago by Tom34.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Tom34

    (@arcade-games)

    I tried to add the Gender female if category_link contains “women”. This doesn’t work though. I can very well filter by category but not assign a dynamic attribute:

    I couldn’t find the support email address on the website so I post the relevant part of the debug.log here.

    I tried both CS on and off and I tried to filter by category_path and category_link.

    ——-snip—(mappings)-
    [91] => Array
    (
    [rowCount] => 91
    [categoryId] => 91
    [criteria] => Women\’s Shirts
    [map_to_category] => 212 – Apparel & Accessories > Clothing > Shirts & Tops
    )

    ——–snip—-
    [rules] => Array
    (
    [1559680138417] => Array
    (
    [rowCount] => 1559680138417
    [attribute] => category_link
    [condition] => contains
    [criteria] => women
    [cs] => on
    [than] => include_only
    )

    )

    [rules2] => Array
    (
    [1559680475582] => Array
    (
    [rowCount] => 1559680475582
    [attribute] => category_link
    [condition] => contains
    [criteria] => women
    [cs] => on
    [than_attribute] => pa_gender
    [newvalue] => female
    )

    )

    Hi Tom,

    Thanks for using our plugin and reaching out to us.

    To start with the ‘category_link’ rule you created. We have tried to replicate the issue at hand but for us it is working just fine.

    We created this rule:
    https://www.dropbox.com/s/6wnrsd3dai2l9g7/cat-link-1.png?dl=0

    Saying that when the category link contains the word ‘pretend’ to give the ‘attribute color’ violet.

    We than added the ‘attribute color’ to the product feed (we mapped it to a custom label for testing purpose):
    https://www.dropbox.com/s/oh3hdo6xxv0ctzp/cat-link-2.png?dl=0

    And then manually refreshed the product feed. With this as a result:
    https://www.dropbox.com/s/ueejn74d2hfddbz/cat-link-3.png?dl=0

    So that seems to work fine for us? Maybe you forgot to add the pa_gender attribute to the field mapping?

    With regards to your other questions:
    – It is not possible to add multiple values to ‘is equal to’ (you could go for this solution though: https://adtribes.io/how-to-include-only-a-couple-of-products-to-your-product-feed/)
    – cs = case sensitive)

    Hope this helps?

    All the best,
    Eva

    All the best,
    Eva

    Hi,

    Assuming the issue at hand has been solved I am going to close this issue for now. Please feel free to reach out again whenever you need our support again.

    All the best,
    Eva

    hello eva i have a similar problem:

    i would like to set a rule if a product is listed in a product category.
    it is not the primary category but a secondary.

    How do a set a rule that says: change the shipping to 4.99 EUR if the product is listed in a category named “Nur Premiumversand” or with the URL slug “premiumshippingonly”

    I tried all different kind of things like:

    [attribute] => category_link
    [condition] => contains
    [criteria] => premium
    [than_attribute] => shipping
    [newvalue] => 4.99 EUR

    But nothing happend. the shipping field (which i set in the field mapping) is still empty.

    And what does the CS option in the rules dialogue mean? I did not find any information about it.

    Regards
    Julius

    • This reply was modified 5 years, 5 months ago by suiluj.

    Hi Julius,

    Rules on shipping costs will only work when you are creating a feed that is not for Google Shopping or Facebook. Due to the complex Shipping XML node needed for Google and Facebook those rules won’t work.

    Best,
    Eva

    hi Eva,

    okay thanks for the hint.
    now i have solved my problem with shipping labels.
    these label you can configure in merchant center shipping

    perfect!

    all the best,
    Eva

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dynamically adding gender according to categories’ is closed to new replies.