bethol Posted May 18, 2021 Share 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 Link to comment
tuanphan Posted May 19, 2021 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
creedon Posted May 20, 2021 Share 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. Link to comment
creedon Posted May 23, 2021 Share Posted May 23, 2021 (edited) Please see Scroll to Top of Store Category Product Grid. Let us know how it goes. Edited March 28, 2022 by creedon 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. Link to comment
bethol Posted June 1, 2021 Author Share Posted June 1, 2021 @creedon Thank you! Unfortunatly it did not work 😞 Link to comment
Beyondspace Posted June 1, 2021 Share 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 (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
bethol Posted June 1, 2021 Author Share Posted June 1, 2021 @bangank36 I removed the whole "read more" snippet with the underlined text, but it didnt change anything. Link to comment
Beyondspace Posted June 1, 2021 Share 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 (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
creedon Posted June 1, 2021 Share 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. Beyondspace 1 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. Link to comment
bethol Posted June 2, 2021 Author Share Posted June 2, 2021 @creedon @bangank36 It still refreshes to the top of the page. Maybe i´m doing something wrong? Beyondspace 1 Link to comment
Beyondspace Posted June 2, 2021 Share 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 bethol and creedon 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
creedon Posted June 2, 2021 Share 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. Link to comment
creedon Posted June 2, 2021 Share 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. Beyondspace 1 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. Link to comment
bethol Posted June 3, 2021 Author Share Posted June 3, 2021 @creedon That would be great! Link to comment
creedon Posted June 4, 2021 Share 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. tuanphan 1 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. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment