Adding free value to gift cards through cart script?

New Member
1 0 0

Hello,

 

We want to run a promotion with gift cards in which you buy a certain variant, and get additional value added for free. So for example, if a customer buys a $25 gift card, we want to add an additional $5 for free onto the card's balance but have the card still cost $25. Is this possible through a cart script with the script editor? Or is there a better method to do this?

 

I have tried the methods of creating a clone of the gift card product and adding variants with the added value but reducing the cost of the variant and I have tried reducing the cost of the variants by checking the variant ID in the script editor. Both of those methods work okay but they seem hacky and I'm wondering if there is a better way to do this.

 

Thank you

0 Likes