on 05-15-2018 6:31 PM
I have created the following condition for promotions but I need to pass products list(products in cart) dynamically into following promotion condition?
INSERT_UPDATE RuleConditionDefinitionParameter;definition(id);id[unique=true];name[lang=fr];name[lang=en];priority;type;value;required[default=true];validators;filters;
;y_promotion_no_stackable_with_sst;active_sst;sst actives;active sst;1000;List(ItemType(Product));;false;;
In CartRaoPopulator you can check if a particular cartentry has discountvalues if yes that means product attached to this particular cartentry having discounts hence you can manipulate and exclude this product from condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.