bethol Posted May 18, 2021 Posted May 18, 2021 Site URL: http://www.happy-skin.no/nettbutikk Hi! Is there anyway to automatically scroll to products when changing category, or stop it from refreshing the whole page on the shop page? Spesific page: http://www.happy-skin.no/nettbutikk Password for website: 1111
tuanphan Posted May 19, 2021 Posted May 19, 2021 @creedonIf I remember correctly, you, or @rwp, once addressed a similar question? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
creedon Posted May 20, 2021 Posted May 20, 2021 Doesn't ring a bell. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
creedon Posted May 23, 2021 Posted May 23, 2021 Please see Scroll to Top of Store Category Product Grid. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
bethol Posted June 1, 2021 Author Posted June 1, 2021 @creedon Thank you! Unfortunatly it did not work 😞
Beyondspace Posted June 1, 2021 Posted June 1, 2021 1 hour ago, bethol said: @creedon Thank you! Unfortunatly it did not work 😞 The code work perfectly, but there is a syntax error on your site, find position of the snippet in red box and remove the read-underline text BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
bethol Posted June 1, 2021 Author Posted June 1, 2021 @bangank36 I removed the whole "read more" snippet with the underlined text, but it didnt change anything.
Beyondspace Posted June 1, 2021 Posted June 1, 2021 7 minutes ago, bethol said: @bangank36 I removed the whole "read more" snippet with the underlined text, but it didnt change anything. @creedon I took a look but the condition never met twcsl.storePage.hasCategory BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
creedon Posted June 1, 2021 Posted June 1, 2021 @bethol @bangank36 I have updated my code post. The second line of the first instruction has been updated. There was a bug in my code. Hopefully that has been fixed now! Let me know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
bethol Posted June 2, 2021 Author Posted June 2, 2021 @creedon @bangank36 It still refreshes to the top of the page. Maybe i´m doing something wrong?
Beyondspace Posted June 2, 2021 Posted June 2, 2021 40 minutes ago, bethol said: @creedon @bangank36 It still refreshes to the top of the page. Maybe i´m doing something wrong? Hang on while Creedon updates his awesome plugin BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
creedon Posted June 2, 2021 Posted June 2, 2021 I'm looking into the issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
creedon Posted June 2, 2021 Posted June 2, 2021 I've updated my twcsl code again. However I've discovered an issue that I'm not having on my test site. I think it has to do with the fact that you have five instances of the jQuery library being loaded. Generally only one is needed unless you have a specific need for multiple versions. The code is not running in the order I normally expect. The scroll to top of store category product grid code is running before twcsl which is not good. I'd be happy to go in and try to clean up that situation and it would give me an opportunity to test my code further. You'd need to invite me as a contributor with Administrator permissions. If you're up for this let me know and I'll send my email out of band. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
creedon Posted June 4, 2021 Posted June 4, 2021 I've gone in and commented out extra jQuery libraries. I also fixed a few syntax errors. An odd non printing character was causing an issue. Also a jQuery document ready was nested inside another. My code appears to be working well. The scroll effect is happening as I would expect. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.