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.

214775733_ScreenShot2022-01-03at7_15_06PM.thumb.png.6ed74771dddc3a94f11d337f78031ceb.png

 

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.

806187954_ScreenShot2022-01-04at11_00_09AM.thumb.png.9fbffd725328c6762163d638c3138ff4.png

 

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.