I am experiencing countless issues with the Dawn theme - I have the the latest version (7.0.1), having only just built and launced my store in November 2022.
Many of the add to cart and cart features that appeared to be common and "fixed" have still been an issue for me, requiring updates with the original coding.
My most recent issue is that the Add to Cart button becomes disabled when a product variant is selected on the product page. The only work around this is to manually refresh the page.
Console produces the following error located in the global.js file (line 854 this.toggleAddButton(!this.currentVariant.available, window.variantStrings.soldOut)
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'soldOut')
(anonymous) @ global.js?v=149496944046504657681669155344:854
renderProductInfo @ global.js?v=149496944046504657681669155344:845
onVariantChange @ global.js?v=149496944046504657681669155344:772
My website is www.rawaffection.com.au
Any help in resolving this would be greatly appreciated.
I have checked and found a problem in the code that is most likely the cause of the above error message.
You can try adding
in the above position.
1. Go to Online Store -> Theme -> Edit code https://prnt.sc/NIubHkOJxV7S
2. Open your theme.liquid theme file https://prnt.sc/iRHDw5p3FdP8
3. Scroll to the bottom of the file. Maybe the code is in this location.
Save the file and double-check.
I hope you can fix the problem.
GemPages Support Team
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...By Ollie May 25, 2023
Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...By Trevor May 15, 2023
With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...By Imogen Apr 26, 2023