Sudersn Posted September 11, 2020 Share Posted September 11, 2020 I'm trying to create a product page for a brand owned by an existing retailer. The goal is for users to be able to view products by this brand but when they want to purchase the item, they will be redirected to the existing retailer for purchase. The problem is that I can't find a way to change the url for the "Add to Cart" button. I can change the text to something more appropriate like "Shop Online", but I need it to send users off site when they click on it. Link to comment
tuanphan Posted September 11, 2020 Share Posted September 11, 2020 You can add a button, then remove add to cart. If you share link to product page, we can give the code to remove add to cart. ashantawines 1 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
ashantawines Posted April 6, 2021 Share Posted April 6, 2021 I need help with this too. I need to link my product page add to cart buttons to a separte ecommerce site that is processing payments but I don't how to create and link a new button. Link to comment
ashantawines Posted April 6, 2021 Share Posted April 6, 2021 https://www.ashantawines.com/shop/p/https/ashantawinesvinespringsite/purchase/item/prod604ff9e0e11ce40007efda26 password: wildyeast Link to comment
tuanphan Posted April 12, 2021 Share Posted April 12, 2021 On 4/7/2021 at 6:40 AM, ashantawines said: https://www.ashantawines.com/shop/p/https/ashantawinesvinespringsite/purchase/item/prod604ff9e0e11ce40007efda26 password: wildyeast The url doesn't exist. Can you check it again? 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
IvoryOcean Posted June 5, 2021 Share Posted June 5, 2021 Hi Tuan, please can you help me with this too. However I would only like to remove the "Add to Cart" button from visible products, not from the hidden products is that possible? Here is the link to my product page, please let me know what else you need from me. Thanks for your help, https://arugula-ladybug-mnsd.squarespace.com/config/pages/60b8839e672bce3b21e6c5d8/categories/60b8839e672bce3b21e6c5df Nell Link to comment
tuanphan Posted June 7, 2021 Share Posted June 7, 2021 On 6/5/2021 at 12:08 PM, IvoryOcean said: Hi Tuan, please can you help me with this too. However I would only like to remove the "Add to Cart" button from visible products, not from the hidden products is that possible? Here is the link to my product page, please let me know what else you need from me. Thanks for your help, https://arugula-ladybug-mnsd.squarespace.com/config/pages/60b8839e672bce3b21e6c5d8/categories/60b8839e672bce3b21e6c5df Nell Hi. Sent the code. You can check. if it works, you can share for other members 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
MichelleMcSweeney Posted June 22, 2021 Share Posted June 22, 2021 Hi @tuanphan, I have a similar query. We're no longer selling online, so we want to change my 'Add to Cart' button link to redirect users to another Page on the site. I added to the Custom CSS to remove Add to Cart, and added a new button, the new button appeared way below to product information on the page and couldn't be moved. All products are hidden until we can display them without purchasing options - but here's a sample: https://www.homesavers.ie/new-page-1 Michelle Link to comment
sorca_marian Posted June 22, 2021 Share Posted June 22, 2021 1 hour ago, MichelleMcSweeney said: Hi @tuanphan, I have a similar query. We're no longer selling online, so we want to change my 'Add to Cart' button link to redirect users to another Page on the site. I added to the Custom CSS to remove Add to Cart, and added a new button, the new button appeared way below to product information on the page and couldn't be moved. All products are hidden until we can display them without purchasing options - but here's a sample: https://www.homesavers.ie/new-page-1 Michelle Hi Michelle, You can hide your current add to cart button and add a new button with the below codes. <style> .sqs-add-to-cart-button-wrapper { display : none!important; } .custom-button { border: 1px solid; padding: 10px 15px } </style> <script> $(document).ready(function() { $('<a class="custom-button" href="/page-url">Button name</a>').insertAfter($(".ProductItem-details-excerpt ul")) }); </script> tuanphan 1 👨🔧👨💻 Contact me for development work - I’m a Freelancer Software engineer, Architect, and Designer UI/UX 🙋♂️ Squarespace Custom Web Development & Design 📅 Manage Tasks, Take Notes, and Upload Related Images 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
MinerMan2022 Posted February 28, 2022 Share Posted February 28, 2022 Hi @tuanphan we are trying solve a similar problem on a client's site of ours. I tried the code above but it completely removes the button instead of updating/redirecting it. Can you help? Any advice would be greatly appreciated. Our site url is: https://coyote-bagpipe-yyjt.squarespace.com/ourwork/ferb6jya7878ba7-ejszk-msxa2-rgdj3-zb48c-z2b53-el68s-n997b-eka39 and the password to view it is Stal2022! Thank you! Link to comment
creedon Posted March 1, 2022 Share Posted March 1, 2022 6 hours ago, MinerMan2022 said: I tried the code above but it completely removes the button instead of updating/redirecting it. That code was not designed for your template. Please see the following for a more generalized solution. If you want all your buttons to redirect follow the Note below my Quick Install instructions. 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. 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