Skip to content

Show applied cart rule on each product in cart/minicart

I have a cart rule that goes like this: if you have an item from category A and an item from category B, the item from B gets a 50% discount.

So the way it works now is, the discount is displayed in ‘Totals’ section only.

current

I would like to let the customers know which particular item is getting discounted e.g.with crossed-out price & new price next to it (and, if possible, the label of the rule that was applied).

enter image description here

How can i do this? I would appreciate your help as i’m a beginner.