cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass products dynamically into promotion condition

0 Kudos

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;;

0 Kudos

Can you please elaborate the exact scenario, what you trying to achieve?

0 Kudos

Hi Abhishek, if I have already discounted products in my cart then I should not apply any promotion on these products, If I pass all there products in my above condition then It could work,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.