Jonny303 Posted October 30, 2019 Share Posted October 30, 2019 Hi, I know this has been asked lots of times but all the links seem to be to answers and the links are dead. I have created product blocks on pages, is it possible to disable the "back to product page" link so that if people go back they won't be directed to the wrong place? Thanks Link to comment
tuanphan Posted October 30, 2019 Share Posted October 30, 2019 If you share site url, i can give code to disable link 😰 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!) Link to comment
Jonny303 Posted October 30, 2019 Author Share Posted October 30, 2019 thank you, its www.poppiesnewcastle.ie Link to comment
tuanphan Posted October 30, 2019 Share Posted October 30, 2019 @Jonny303 Where is "back to.."? 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!) Link to comment
Jonny303 Posted October 30, 2019 Author Share Posted October 30, 2019 Hi, It's when you go into an individual product it gives you a link to "go back to xxx" even though you may not have come from there. www.poppiesnewcastle.ie/ghd- If you click on a product in the product block and use the link to return, it will bring you back to the product page as opposed to the page containing the product block. If that was removable it would be great. Link to comment
tuanphan Posted October 30, 2019 Share Posted October 30, 2019 @Jonny303 Add to Home > Design > Custom CSS .show-product-item-nav #productWrapper #productNav { display: none; } 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!) Link to comment
ckritzelt Posted November 3, 2019 Share Posted November 3, 2019 On 10/30/2019 at 4:45 PM, tuanphan said: @Jonny303 Add to Home > Design > Custom CSS .show-product-item-nav #productWrapper #productNav { display: none; } Hey 🙂 Can I use this only for one product or can I only apply this to all products in the template design? Thanks to you! Link to comment
tuanphan Posted November 3, 2019 Share Posted November 3, 2019 @ckritzelt that code for all products If you want 1 product, add Page ID to before, eg: body#collection-123456789 .show-product-item-nav #productWrapper #productNav {display: none;} See how to find Product Page ID. 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!) Link to comment
ckritzelt Posted November 3, 2019 Share Posted November 3, 2019 Thank you for your quick answer! I found the ID (see screenshot) and put it in the Custom CSS box like this (see screenshot). But it is not working. What did I do wrong? Link to comment
tuanphan Posted November 3, 2019 Share Posted November 3, 2019 12 minutes ago, ckritzelt said: Thank you for your quick answer! I found the ID (see screenshot) and put it in the Custom CSS box like this (see screenshot). But it is not working. What did I do wrong? Can you share link to your site? 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!) Link to comment
ckritzelt Posted November 3, 2019 Share Posted November 3, 2019 www.ckritzeltshop.com Link to comment
tuanphan Posted November 3, 2019 Share Posted November 3, 2019 7 minutes ago, ckritzelt said: www.ckritzeltshop.com You mean "Back to Products" with white text, black background? https://ckritzeltshop.com/products/calendar-2020 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!) Link to comment
tuanphan Posted November 3, 2019 Share Posted November 3, 2019 If yes, try this CSS body#item-5db46778d615063f7090196b .product-description .sqs-block-button { display: none !important; } 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!) Link to comment
ckritzelt Posted November 3, 2019 Share Posted November 3, 2019 1 minute ago, tuanphan said: You mean "Back to Products" with white text, black background? https://ckritzeltshop.com/products/calendar-2020 Sorry, I already added the code for the whole page. Check the page again (and screenshot). I mean the "Back to products" on top of the picture. My main problem: I have a SHOP-Landing page (https://ckritzeltshop.com/) where I have an overview/gallery of all the product CATEGORIES. If I view the Calendar 2020 (https://ckritzeltshop.com/products/calendar-2020) and click on the "Back to products" link, it leads me to ALL my products. But I want that people go back to the CATEGORIES-Page eg. Landing Page. Best solution for me would be to link the "back to products" button on top of the picture to the landing page for both products, Calendar and Tattoo Certificate (https://ckritzeltshop.com/products/tattoo-certificate-permission). {or: disable the "Back to Products" button on both products and put a custom link like the one you see on the bottom} Link to comment
tuanphan Posted November 3, 2019 Share Posted November 3, 2019 @ckritzelt It need some custom javascript. I wrote or a client few months ago. Quite a lot of messages, I need to find again. I'll send you tomorrow. You can also send me a private message, sometimes I forget ... because answering many other questions on the forum. 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!) Link to comment
tuanphan Posted November 5, 2019 Share Posted November 5, 2019 On 11/3/2019 at 9:06 PM, ckritzelt said: www.ckritzeltshop.com try adding to Header or Footer <script> window.onload = function() { document.querySelectorAll('#productNav a')[0].href = 'https://example.com'; }; </script> 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!) Link to comment
karilyn Posted December 22, 2019 Share Posted December 22, 2019 On this page: https://support.squarespace.com/hc/en-us/articles/205815668-Styling-the-Classic-Products-Page#toc-category-navigation They say there's an option to hide or display a nav link back to the products page, which works for classic templates. Mine is Bedford, which they say is included, but I CANNOT find the option to hide the nav link. Anyone know how to do this?? Link to comment
paul2009 Posted December 23, 2019 Share Posted December 23, 2019 @karilyn In the Bedford template, you'll find this tweak in Design > Site Styles in the PRODUCTS section. The tweak is called Show Product Item Nav. You will need to be viewing a product when you open Site Styles for this setting to be visible. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
NaamNom Posted July 17, 2020 Share Posted July 17, 2020 @paul2009 I would also like to remove the same navigation element but when I go to Site Styles (my template is Wells) there is no PRODUCTS sub-menu. Did they move it somewhere else? Thank you! Link to comment
paul2009 Posted July 18, 2020 Share Posted July 18, 2020 12 hours ago, NaamNom said: When I go to Site Styles (my template is Wells) there is no PRODUCTS sub-menu. The Products option exists on the Wells template too 🙂 Are you viewing a product in the preview window before you open the Site Styles panel? If not, you won't see it. This is because the Site Styles panel is dynamic - it only shows options for items that are currently in the preview window. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
NaamNom Posted July 18, 2020 Share Posted July 18, 2020 @paul2009 PERFECT! Thank you brother. Really appreciate that. Link to comment
E_J_L Posted January 12, 2021 Share Posted January 12, 2021 I'm trying to remove the 'back to shop' link from my product pages at www.hewn.ie/shop. For instance at www.hewn.ie/shop/forge-and-carve, there is a link 'Hewn Shop' which links back to the parent collection. I'd like to remove this. I've tried adding this to Custom CSS without success: .show-product-item-nav #productWrapper #productNav { display: none !important; } I also tried this without success: .product-description .sqs-block-button { display: none !important; } Perhaps my hero @tuanphan can help. Link to comment
E_J_L Posted January 12, 2021 Share Posted January 12, 2021 I've tried @paul2009's solution above as well but the option for 'show product item nav' is not available in the site styles for my template, Supply. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.