MiaMiaMia Posted October 19, 2020 Share Posted October 19, 2020 Site URL: https://lanternfish-lion-lr7x.squarespace.com/ Hi there, I hid the quantity, price and add to cart buttons on my PDPs using this code: .product-quantity-input, .product-price, .sqs-add-to-cart-button-wrapper { display:none !important; } Now, I would like to add some copy and a button to every PDP, something like: Copy: Request a swatch or a free quote Button: Request a swatch Button link: /contact page How do I do this? Link to comment
paul2009 Posted October 19, 2020 Share Posted October 19, 2020 It will really help us if you share the site password with us so that we can view the site. 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
MiaMiaMia Posted October 20, 2020 Author Share Posted October 20, 2020 @paul2009Oh I'm sorry, password is: Exclusive2020 thank you so much for your help Link to comment
tuanphan Posted October 21, 2020 Share Posted October 21, 2020 You can add a text link, then we will give the code to turn link to button 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
MiaMiaMia Posted October 22, 2020 Author Share Posted October 22, 2020 @tuanphan how do I add a text link to every product page? I can add a description but not sure how to add a link across the board. Link to comment
tuanphan Posted October 23, 2020 Share Posted October 23, 2020 18 hours ago, MiaMiaMia said: @tuanphan how do I add a text link to every product page? I can add a description but not sure how to add a link across the board. all products use same link or different 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
MiaMiaMia Posted October 23, 2020 Author Share Posted October 23, 2020 @tuanphan -- I'm not sure I understand the question. Each product should have a button with the same link. But each product is obviously on a different page. I want to add this button to all product pages. Let me know if that clarifies? Link to comment
tuanphan Posted October 25, 2020 Share Posted October 25, 2020 I mean all links to /contact page or Product a > link to /contact-1 Product b > link to /contact-2 ... 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
MiaMiaMia Posted October 28, 2020 Author Share Posted October 28, 2020 No, they will all link to the same place @tuanphan Link to comment
tuanphan Posted November 2, 2020 Share Posted November 2, 2020 On 10/28/2020 at 11:59 PM, MiaMiaMia said: No, they will all link to the same place @tuanphan Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('footer.sections .button-block').insertAfter('h1.ProductItem-details-title'); }); </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
MiaMiaMia Posted November 2, 2020 Author Share Posted November 2, 2020 Thanks! It's showing above the product name, can it be updated to show below? Link to comment
tuanphan Posted November 3, 2020 Share Posted November 3, 2020 12 hours ago, MiaMiaMia said: Thanks! It's showing above the product name, can it be updated to show below Add to Home > Design > Custom CSS /* Button under product name */ .ProductItem-details .button-block { order: 2; } 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
MiaMiaMia Posted November 3, 2020 Author Share Posted November 3, 2020 Perfect, thank you so much! Link to comment
MiaMiaMia Posted November 3, 2020 Author Share Posted November 3, 2020 Sorry - just realized it's still showing in the footer on non-PDP pages. How do I hide it? Example from the homepage: Link to comment
tuanphan Posted November 3, 2020 Share Posted November 3, 2020 1 minute ago, MiaMiaMia said: Sorry - just realized it's still showing in the footer on non-PDP pages. How do I hide it? Example from the homepage: Try adding to Home > Design > Custom CSS footer.sections .button-block {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
MiaMiaMia Posted November 4, 2020 Author Share Posted November 4, 2020 Perfect, that worked, thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.