Skip to Content
0
May 23, 2018 at 11:30 AM

How to find items on cart that were condition of a promotion*

65 Views

Hi,

Lets say I have a promotion with category on condition and a product in action part. When I create a cart with and get the promotion triggered how can I distinguish the order line items that were used during finding the condition of this promotion and fired the promotion.

Sample

Promotion { Conditions of promotion Product 1 Product 2

Action: %x discount for Product 3 }

Cart:

Product 1 Qty: 1 Product 6 Qty: 2 Product 112 Qty: 4 Product 3 Qty:1

How can I know Product 1 caused Product 3 to get discount. So that I can claim Product 1 and Product 3 together during return process.

Regards, Burak