How to temporary apply discount to one (or some) products in current checkout only

Highlighted
Tourist
10 0 2

HI, I'm developing an app which is if user add some products those are matching our condition, they will receive a new product with discount.

But that discount is applied to the current checkout only.

The behavior is very like this video below. The first checkout the new product got discount, then I go back and checkout again the price will go normal.

How can I achieve this? Thanks.

 

0 Likes
Highlighted
Tourist
10 0 2

Hi, anyone :(

0 Likes