Single comment thread
See full discussion

Couldn't you just do an animation to show the discount being applied, then update the link to include the discount when that happens? That should give people the illusion that they're applying a discount even though it's embedded in the link post click

no i cant add an animation because is not a custom checkout...is a checkout from Polar. so what I did was write ( uppercase ) next to the code

Your entire site is just a webpage maintained by Polar (no code)? I thought you meant just the checkout UI is Polar

In that case, you are indeed shit out of luck as it relates to my idea 😅

ahh no no I have built the site myself with Astro, where did you meant to add the animation? Also yes, only the checkout.

Ah ok. Then include a banner at the top "25% off for whatever blah blah --- <apply discount button goes here>" and do the animation with some JS to show the price changing or a "✅ discount applied" notification

Then keep track of the state so when the user later clicks the checkout link or otherwise navigates there, the link has the discount code embedded and the discount code gets applied for them

Does that make sense?

ahh ok sort of yeah.

Ill see what i can do about that..animation,. Thank you for taking the time ben!

Home
Search
Messages
Notifications
More