Hey @Donna Sofia
This is indeed weird
I would suggest reading this answer to a similar question someone had posted a while back
I would suggest contacting klaviyo chat support if the issue still persists, and they would be able to look into this in more detail as you can share them a link to your template.
I hope this helps and thank you for being part of the community
Cheers
Arpit
Hi @Donna Sofia
I’ve had this issue before with Shopify with the standard checkout url redirecting to the home page even though it’s been working OK previously. I never really got to the bottom of it.
However, adding this as the link to the return to checkout button works (provided to me by Klaviyo support):
{% with event.extra.line_items as items %}{{ organization.url|trim_slash }}/cart/{% for item in items %}{{ item.variant_id }}:{{ item.quantity|floatformat:'0' }}{% if not forloop.last %},{% endif %}{% endfor %}{% endwith %}?checkout%5Bemail%5D={{ email }}
Hope that helps
Andy
Hi Andy,
I had the same issue as Donna and the link you provided has worked to fix it so thank you!
I was wondering if you knew of a way to integrate a coupon code into the link? Currently am using {{ event.extra.checkout_url }}?discount={% coupon_code 'CH10' %}, however this is still redirecting to my home page.
Thanks,
Sarah