Skip to main content

Im trying to set up an abandoned cart flow from my woo commerce/wordpress site. 

 

The emails are sending but when the customer clicks on the “Return To Cart” button it is coming up with a “Not Found” message. 

The button URL link is 

{{ organization.url|trim_slash }}/cart

 

Thanks 

Hi @jht652 

So just for some additional background, we do use WooCommerce Data to Rebuild Carts from an Abandoned Cart Flow.

We will generate a key on the Started Checkout event that allows you to create a link that rebuilds the customer's cart in case they return to their cart via an email triggered by this event on another device. You can create this link using the following url parameter in an Abandoned Cart flow email triggered by a Started Checkout:

?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

Assembled, the url should look like the following:

{{ organization.url }}cart?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

The dynamically-generated product title link pulls directly from the URL you have inserted in your account settings. You may need to add a forward slash to your URL parameters between {{ organization.url }} and cart to resolve any errors with the destination URL. To add the forward slash, navigate to Table Block > Rows > Column 2 and double click the hyperlinked product title tag. Add the forward slash to the URL in the window and click OK. (It looks like you’ve already handled this step).

forwardslash.png

Could you try using your URL in the form of https://www.remainderofyourURL and then the 

/cart?wck_rebuild_cart={{ event.extra.CartRebuildKey }} and see if that helps for the link associated with your “Return to your cart” button?

 

So it should look something like https://www.restofdomain//cart?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

 

The reason for this is if you are using {{ organization.url }} to link to a non-secure HTTP URL, you will need to manually add your URL using HTTPS for the cart to rebuild correctly.

 

Try this out and let me if this resolves the issue. 


Hi Paul, Yes.. that’s worked for me now. Thanks so much :) 


Adding some additional info just in case others might run into similar problems.

Another thing which might trigger not found is when woocommerce is customized and the /cart is not visible anymore or is renamed to something else. i.e with slide-in cart functionality.

Always make sure you use the correct name for the cart page.


I’m having a similar problem where {{ organization.url }}cart?wck_rebuild_cart={{ event.extra.CartRebuildKey }} is not rebuilding the cart.

 

Any ideas?

 

Maybe a better question is…

Do test emails rebuild a cart when they use sample data?


I’m having a similar problem where {{ organization.url }}cart?wck_rebuild_cart={{ event.extra.CartRebuildKey }} is not rebuilding the cart.

 

Any ideas?

 

Maybe a better question is…

Do test emails rebuild a cart when they use sample data?

Hi, did you solve? I have the same issue


I’m having a similar problem where {{ organization.url }}cart?wck_rebuild_cart={{ event.extra.CartRebuildKey }} is not rebuilding the cart.

 

Any ideas?

 

Maybe a better question is…

Do test emails rebuild a cart when they use sample data?

 

As I had the same question. 
After a lot of testing. when you manage to get a working link, it also works from the test emails when you use the preview data. So I knew it worked the moment I had the page with the abandoned cart I left myself at our woocommerce store.

For me, I had to write out the organisation url with https:// in front. And my shoppingcart was at https://organisation.url/shoppingcart.

For me it worked to use the following link in the return to cart button.
https://organisation.url/shoppingcart?wck_rebuild_cart={{ event.extra.CartRebuildKey }}


Hi guys, does anyone know how to add apply an automatic coupon code to this link as well?

In the help guide it says to include this {{ event.extra.token }}?discount={% coupon_code 'NAME_OF_YOUR_COUPON' %}  but I’m not sure how to integrate this with the current link. Do I need to alter this for Woocommerce?


hola a todos, a mi me resulto como lo indicaron arriba colocando primero mi url y luego ?wck_rebuild_cart={{ event.extra.CartRebuildKey }}, es facil solo copias tu url del carrito ejemplo : https://tudominio.com/carrito?wck_rebuild_cart={{ event.extra.CartRebuildKey }} y quea solucionado muchas gracias a todos por u apoyo.


We were having the same issue with rebuilding carts on WooCommerce, where the cart would just be empty after clicking on the rebuild cart link.

We changed two things in order to get this working;

1. ‘Hardcode’ the URL of your website, instead of using {{ organization.url|trim_slash }}
2. Make sure there is a trailing slash after the /cart page, so it looks like /cart/

 

The final URL should look something like this (this is our example);

https://beautytribe.com/cart/?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

This now works flawlessly, for both logged in and non-logged in users.

Can’t wait to see what it does! 😀

 


Hello Everybody,

 

Im trying to set up an abandoned cart flow from my woo commerce/wordpress site.

The emails are sending but when the customer clicks on the “Return To Cart” button it is coming up with a “Not Found” page.

I followed the diferents url that you put up and didn´t works right, can you help me, please?

Many thanks

 

 


Reply