Skip to main content
Contributor II
March 1, 2021
Solved

Abandon Cart Flow - Product links not working

  • March 1, 2021
  • 20 replies
  • 2231 views

Hi there,

A few months ago I noticed the products linked in my abandoned cart flows were taking users to a ‘page not found’ screen. I saw it was due to a ‘/’ missing from the URL. 

I revised my product code to {{ organization.url }}/products/{{ item.product.handle }} and that seemed to fix the issue. 

Recently, I tested my abandon cart email again and noticed the url the product link is taking users to has switched back to: theunistore.com.auproducts (missing a ‘/’). I have not edited my product code since the last time I fixed it so have no idea what’s causing the problem.

Thanks in advance for your help!

 

 

    This topic has been closed for replies.
    Best answer by David To

    Hey @vickieex 

    Adding to @caroline’s comments, one solution that may be easier than adding the “/” manually within all your email templates’s button and product title syntaxes - which may get strenuous - would be to update how Klaviyo is recognizing your {{ organization.url }} syntax.

    In this case, if you updated your Organization URL within your Account settings to include this “/” so that your website reads “example.com/”; then those dynamic links within your Abandoned Cart emails would automatically amend this “/” when rendered. This strategy is further highlighted by @shoshana.antunes in the follow Community Post: 

    Let us know how this goes!
    - David

    20 replies

    Contributor IV
    August 30, 2021

    Hi @Taylor Tarpley 

    Thank you for your reply. I tried everything you said, then I remembered my cart is not called cart it is called basket.

    So I went into my site to the (cart) basket page and copied the URL then pasted it, in front of

    https://mywebsite.com/basket/?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

    The word cart after my sites url worked.

    All working now. I hope this might help someone else having this problem.

    Have a great day.

    Reestar x

     

    Taylor Tarpley
    Community Manager
    Community Manager
    August 30, 2021

    @Reestar

     

    Thank you for sharing your workflow with us! It is so helpful to any future Community users who are also experiencing the same problem! 

     

    So glad to hear it’s working!

     

    Best,

    Taylor 

    Contributor I
    September 8, 2021

    I have the same problem. Where excactly in the account settings can I put the “/” after my domain-name?

    Contributor IV
    September 8, 2021

    Hi, / Yes put it after the your domain-name or what I found that worked better was going to my cart/basket page on my site and coping and pasting the page url in front of the code.

    https://mywebsite.com/basket/?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

    https://mywebsite.com/basket/ this is from your site

    ?wck_rebuild_cart={{ event.extra.CartRebuildKey }} this is the code from Klaviyo so put them together. It worked for me, as in my url it said basket not cart which was the demandin the link which would never work for me​​​​​​.

     

    Good luck :)

    Contributor I
    September 8, 2021

    Thanks, but where exactly after the domain-name?? Can you tell me all the steps how I come to my domainname, where I can put the / after it?

    Contributor IV
    September 8, 2021

    If you read the feed it tells you after the domian

     {{ organization.url }}/products/{{ item.product.handle }}

    it is red above.

    Contributor I
    September 8, 2021

    I have done this, but product link is still without / and not working when you click on product link text. When you click on the product picture it is working, but not when you click on the product text. 

    Contributor IV
    September 8, 2021

    I don’t know.

    Try what I did, copy your page url into the link.

    Go to your website, put something in you cart/basket/bag the click on that cart/basket/bag to show what is in there. the URL at the top should say 

    https//yourdomain/bag/

    or 

    https//yourdomain/cart/

    or 

    https//yourdomain/basket

    depending on what you have called it

    past that infront of the code 

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

    so it now looks like

    https//yourdomain/bag/?wck_rebuild_cart={{ event.extra.CartRebuildKey }}

     

    If that dosent work, I don’t know! I am not a tech person, I make jewellery!!

    But this worked for me.

    Good luck, let me know if it worked

    Taylor Tarpley
    Community Manager
    Community Manager
    September 8, 2021

    Hi @MaxStr

     

    Welcome to the Community! @Reestar has been an absolute rockstar for jumping in here to help a fellow user! As they stated above, there are two options to make the link operational. 

     

    1. You can navigate to Account > Contact Information > Organization > Website URL and from here add a ‘/ ’ to the end of your website domain. Changing the Website URL from www.yourwebsite.com → www.yourwebsite.com/    Make sure you Update or Save the information.
    1. You could follow @Reestar’s instructions for what worked for her. When you navigate to your website’s abandon cart page, copy the URL, ensuring that there is a ‘ / ’at the end of it. It could look like ether of the three options they pointed out above, where the word for ‘cart’ be replaced with ‘basket’ or ‘bag’ according to your website. Copy and paste this in front of your abandon cart code:  ?wck_rebuild_cart={{ event.extra.CartRebuildKey }} .The end result should look like the code below. Make sure you Update or Save the information. Be sure your code is formatted perfectly, and there no additional spaces or letters.

    www.yourwebsite.com/basket/?wck_rebuild_cart={{ event.extra.CartRebuildKey }}  

     

     

    Additionally, if your website is in a different language, you will need to translate the word ‘cart’ into your website language and replace the English word for cart in your URL.  I have seen other customers manually format their URL’s perfectly, however, needed to translate ‘cart’ in order for their link to properly function. For instance, in German it would look like

    www.yourwebsite.com/wagen/?wck_rebuild_cart={{ event.extra.CartRebuildKey }}  

     

    Let us know if this helps! 

     

    Best,

    Taylor 

    Contributor III
    June 13, 2023

    As a new Klaviyo user, I came across this issue only yesterday, but was relieved to see I wasn’t the only one who had this issue. I edited Klaviyo’s ‘Abandoned Cart’ flow accordingly and ‘tested’ each email. I discovered the issue was only on the 2nd email and not the first, (which I didn’t realise at the time). I could see quickly what the problem was by hovering over the link and saw there was no ‘/’ (slash) after my URL. I initially added one in and tried again, but it didn’t fix it. 

    Steps taken to fix it

    1. Copied the exact link from the 1st email into the 2nd one, however this STILL didn’t work
    2. Cloned the 1st email and then edited it accordingly and replaced the original 2nd email in Klaviyo’s Abandoned Cart Flow.

    I hope someone finds this useful, and Klaviyo support look into it as clearly there’s an issue somewhere.

     

    Best

    James