Hi all,
I've been constructing a button link which leads to the checkout page with a discount code pre-applied to be used in an abandoned checkout email, in a flow.
I have set up the button link which leads to checkout page with discount code pre-applied using the guide in Klaviyo’s resource: https://help.klaviyo.com/hc/en-us/articles/360018227032-How-to-Add-a-Link-that-Applies-a-Unique-Coupon-Code-at-Checkout
The given template link is: https://www.mysite.com/STOREFRONT_ID/checkouts/{{ event.extra.token }}?discount={% coupon_code 'NAME_OF_YOUR_COUPON' %}
I have checked the button link multiple times but when I used the preview mode, I was led to a broken page.
I contacted Support and was advised to replace the current variable with {{ event.extra.checkouturl }}&discount={% couponcode 'My coupon code' %}, and it didn’t work either.
The issue hasn’t been fixed so I’ve written back to Support but thought I’d also reach out via the community to see if anyone has encountered the same issue and had a fix for it.
Many thanks!
Best answer by David To
View original