Solved

Why has my product page functionality like color swatches zoom stopped working?

irum_s
New Member
10 0 0

My product page's functionality is not working. the color swatches zoom in and description accordion stopped working I couldn't

figure out why?

Accepted Solution (1)
Leysam
Shopify Partner
127 15 47

This is an accepted solution.

@irum_s The issue is you or somebody put an alert on a type="application/json" script tag.

 

Screenshot 2024-02-13 at 11.45.50 PM.png

 This alert('product') is breaking everything on your product page. Edit and remove this on your theme file. 

Leysam | The Shopify Guy  

 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Email me at leysam@grindot.studio
- Check our work and services at grindot.studio

View solution in original post

Replies 4 (4)

Leysam
Shopify Partner
127 15 47

@irum_s Would you mind sharing your store here or VIA PM? so we can take a look. Thank you

Leysam | The Shopify Guy  

 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Email me at leysam@grindot.studio
- Check our work and services at grindot.studio
irum_s
New Member
10 0 0

https://www.casadr.org/collections/fiori-accessories/products/morgan-black 

this is my store's product page.

Please check and guide me why the color swatches, zoom in and accordion are not working.

Leysam
Shopify Partner
127 15 47

This is an accepted solution.

@irum_s The issue is you or somebody put an alert on a type="application/json" script tag.

 

Screenshot 2024-02-13 at 11.45.50 PM.png

 This alert('product') is breaking everything on your product page. Edit and remove this on your theme file. 

Leysam | The Shopify Guy  

 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Email me at leysam@grindot.studio
- Check our work and services at grindot.studio
irum_s
New Member
10 0 0

Thank you so much. It worked!