Jump to content

Grammarly issue with "Checkout" chrome back button causes "Unavailable" variant product error

Recommended Posts

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

Website password: 030774

I have confirmed that Grammarly extension/app causes "Unavailable" error of my variant products once I returned from Checkout page.



The solution I found to avoid this is to disable the Grammarly extension or uninstall it from computer. However, this is beyond my control now. I am afraid that if my user has Grammarly, this error will appear.

The solution I am looking at is to change the "Unavailable" with other text like "Error occured! Please reload your browser.



I tried the below code but no avail.

$(document).ready(function() {  
	$(".product-price").html(function() { 
      return $(this).html().replace("Unavailable", "Error occured! Please reload the browser.");

I will appreciate any help on this. Many thanks.

Edited by Ciodensky
add website password
Link to comment
  • Replies 3
  • Views 368
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.