#DLAN-coupon

1 messages · Page 1 of 1 (latest)

simple kernel
#

Hello, can you give an example code that you are using?

lusty glacier
#

So I have a subscription with $15/month and $150/year pricing. I want a $10 off coupon for the monthly and a $100 off coupon for the annual. I tried a percentage off but I didn’t like how it looked since it rounded them differently. 66.67% off would give $5 and $49.99 prices, respectively. Also I think the dollar off is a cleaner look on the order form.

#

I could make them separate products but then I would lose the ability to upsell between them.

#

I would, however, accept a “2/3 off” type of coupon, if it was added as a feature.

#

I set the annual coupon to need a minimum price of $150, so it will only work for the annual plan.

simple kernel
#

Ah I see. Agree that 66.67% doesn't exactly give what you want. And for case that doesn't follow percentage, ie. if you want 10$ off for monthly but $120 for annual you can't rely on the percentage

#

So the issue is how to define a per-price coupon

#

hmm

lusty glacier
#

I figure it is probably somewhat straightforward in the API but since I am using checkout, that isn’t really available.

lusty glacier
#

I’m signing off for the night. Is it possible to keep this thread unlocked until I have a chance to review it tomorrow? In case I have follow up questions.

simple kernel
#

Hi, sorry being late. Yes I think that's not supported in Checkout for now. You only can apply a coupon to the whole Checkout Session but not per price in same product

#

I would need to temporary lock the thread later, but feel free to ask in the channel and any of my colleague should be able to reopen it