0

I have a block showing up near the add-to-cart button, but I would like to display it only in some products from specific categories.

Can i use something like this?

{{conditions_encoded="a:2:[i:1;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Combine`;s:10:`aggregator`;s:3:`all`;s:5:`value`;s:1:`1`;s:9:`new_child`;s:0:``;]s:4:`1--1`;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Product`;s:9:`attribute`;s:12:`category_ids`;s:8:`operator`;s:2:`==`;s:5:`value`;s:1:`4`;]]"}}
2
  • 1
    If you add the block to a widget and specify for that to only appear on the specific products/categories?
    – Howli
    Jul 24, 2017 at 14:58
  • tried that. But you can only select single products or all products, no categories prnt.sc/fznmcq Jul 24, 2017 at 15:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.