Scroll to top issue 2-for Luke Nielsen if possible
-
Hi again,
so I started adding images to variations for “Scroll to top” option to work, but a problem occurred.
Some of the products work great both on desktop and on mobile, but some of them don’t work at all.
I checked the settings on a few products. but it seems that it simply doesn’t work. I will send you a few links for you to see in a private area.
Products are the same, I mean all the attributes are almost the same, colors, size, etc., but is not to working properly.
Thank you in advance
P.S. I wanted to write in a previous topic, but it is disabled.
I tried to upload the video, but the maximum file size is 2MB.
It behaves on mobile devices the same.
Found a solution!
If you can call it that way. I changed the image for every variation. It has to be a different image or it won’t work. I don’t know why that has to do anything with scroll to top but it works.
Now, it will be very time-consuming to put all the different images for every single product and every single variation…but at least it works
nevertheless, I would like you to check it out and see if Im right
Thank you
Hello,
Try to check how it works without plugins, left only these ones:
Elementor or WPBackary
Woodmart Core
WooCommerce
Enable the Parent theme
Then recheck the issue and let me know.
Kind Regards
Hello Luke,
The same images can not be placed for a different variation place. They must be different for every variation for “Scroll to top” to work. I made small PNG images (20x20px) and named them 1,2,3,4,5,6 and I put them in a variation photo. Now it works like a charm.
I did what you told me but the result is the same. images for each variation need to be different for it to work.
Anyway, thanks for the fast answer and help with this 🙂
Kind regards
Drago
Hello,
Sorry, yes, you are right, there should be different images for variations.
Let me know if you have any additional questions.
Kind Regards