Hi,
We’ve made many customizations to the theme. Somehow we can’t get the sticky add to cart on mobile working to scroll to the top of the page. The probem started when we repositioned the title out of the .summary-inner class which StickyAddToCart.js is referring to (see printscreen ‘reposition title’).
We’ve tried many things such as changing the class in StickyAddToCart.js (see printscreen ‘changed css classes’), but unfortunately it didn’t work (it doesn’t change anything whatsoever).
Apart from the above we also get a console log error (see attachment) but we are not technical enough to understand it. What does this mean and is this a theme bug?
What we would like is the sticky add to cart on mobile to jump to our price or klarna message (the same as how it orignally worked to scroll to the top, title of the page). How can we fix that?
Attachments:
You must be
logged in to view attached files.