MiaMiaMia Posted October 19, 2020 Share Posted October 19, 2020 (edited) 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? Edited October 19, 2020 by MiaMiaMia forgot to mention i'd hidden product price as well 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. About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. 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 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
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 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
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 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
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 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
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 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
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 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
MiaMiaMia Posted November 4, 2020 Author Share Posted November 4, 2020 Perfect, that worked, thank you! 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