All things Shopify and commerce
Hello!
I have a problem with my refresh theme (version 15.0.1).
When i switch variant for my product, page scrolls up automatically. This is very annoying, especially when using ''sticky add to cart'' button. Can someone help me with this?
Hi! The issue you're experiencing is likely due to a JavaScript conflict in the theme. You can fix this by updating the theme's JavaScript to prevent the page from scrolling when switching variants. If you're comfortable with code, you can look into the theme's theme.js file and check the variant change function.
Where is this folder located and what should i change there? Thanks in advance!
Go to Shopify Admin:
Locate the File:
Fix the Issue:
Save and Test
Thank you for also solving my problem.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024