In our abandoned cart workflow, I’m using {{ organization.url }}reclaim/checkout/cart?quote_id={{ event.QuoteID }} as the button link. When clicked, I’m getting a 404 error code page. We use Magento 2 for our website, so wondering why the Magento 2 dynamic cart rebuild link isn’t working.
Solved
Abandoned cart flow : Magento 2 checkout reclaim URL send me to 404 error

Best answer by breeatnorthern
Hi
In your Klaviyo account settings, check your organization URL. If the URL contains a slash at the end, it may be causing a double slash in the cart rebuild URL and is therefore rendering a 404.
Try the following, which includes an additional little piece of information within the variable that tells Klaviyo to remove the slash out of your URL when creating a customer’s rebuild cart link. You’ll notice it includes “|trim_slash” after the organization.url variable.
{{ organization.url|trim_slash }}/reclaim/checkout/cart?quote_id={{ event.Extra.QuoteID }}
Hope this solves it for you!
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.