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 6 years, 9 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