Jump to content

"Unavailable" product error upon after undoing the add-to-cart click by pressing the back on the browser

Recommended Posts

Site URL: https://www.xystema.com/pricing

Hi!,

I have this weird behavior after clicking browser undo to cancel the add-to-cart, my Starter package plan returns empty variant and the price is "unavailable" (see illustration below).

As a backgrounder, I have code injection in the Settings > Advanced > Code Injection for the following customizations:

  1. To bring the variant on top of price
  2. Inserted "your" in the "Select Industry"
  3. Remove the decimal of the price
  4. Integrate Shiny pass for the auto currency conversion

I am not sure if this has something to do with this error.

I have also tried the other package, went to checkout and click back on the browser, same error I got. But if I refresh the browser, everything back to normal.

My website password: 061298

I will appreciate any help you can extend. Thank you.

78362436_ScreenShot2021-11-16at5_14_02PM.thumb.png.d953da39c0c6accbf4c3c3fc21b8c161.png

Edited by Ciodensky
added the website password
Link to comment
  • Replies 5
  • Views 609
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

3 hours ago, creedon said:

Does the error happen when you select any industry? Or a particular one?

The error happens when I am returning from "Checkout" after clicking the "Get Started". You can try it yourself on my website.

  1. Just click any of the "Get Started" then you will be directed to the Checkout page.
  2. From there, you click the back of the browser (assuming the user wanted to go back to the pricing page).
  3. Then, you will find the Starter industry blank and the price is "unavailable".
Link to comment

That is what I did the first time around but I didn't see the issue you detailed. I did see one visual oddity.

1138752651_ScreenShot2021-11-16at3_31_19PM.png.06eb9cabf14dc00e07903536d0f14932.png

 

I general I'm not surprised that you might be seeing odd behaviour. Many form filing or shopping steps don't tolerate using the back button.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
5 hours ago, creedon said:

That is what I did the first time around but I didn't see the issue you detailed. I did see one visual oddity.

1138752651_ScreenShot2021-11-16at3_31_19PM.png.06eb9cabf14dc00e07903536d0f14932.png

 

I general I'm not surprised that you might be seeing odd behaviour. Many form filing or shopping steps don't tolerate using the back button.

Hi @creedon,

I just tried just now in Safari and it does not give any issue. I think Chrome browser I am having trouble with—I assumed you tried it in Safari.

I am wondering if there is any code that I can use to refresh the page after clicking the back button of the browser. Because, if I am able to do this, I think my issue can be resolved. It may not be a permanent solution but a work-around one to address Chrome issue.

I hope there is a little code that I can insert to refresh page after the clicking the browser back button. Is this possible, by the way?

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.