Sauceboss770 Posted November 20, 2023 Share Posted November 20, 2023 I want to add a button saying view demo next to the add to cart button on my squarespace template site how would I do that, and can you do it without code? Link to comment
tuanphan Posted November 24, 2023 Share Posted November 24, 2023 Hi, Each product will have a different view demo link or same? If same, just share link to a product + let me know button style, we can give the code if different, you can add a view demo in Product Additional Info, then share link to a product where you added it, we can give code to move text next to add to cart 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
SBeneke Posted March 10 Share Posted March 10 (edited) Hi @tuanphan, jumping on this thread as I have the same issue and it's driving me mad! Here is a link to a product page I'm designing, where I've added the "View Demo" button in the Additional Information field: https://www.westcoastdigital.co.nz/website-templates/p/summer-template-squarespace-71-yoga-teacher-website If you can help me with code that would place it alongside the "Add To Cart" Button, that would be brilliant! Thanks, Sam Edited March 12 by SBeneke Typo Link to comment
tuanphan Posted March 13 Share Posted March 13 On 3/10/2024 at 8:45 AM, SBeneke said: Hi @tuanphan, jumping on this thread as I have the same issue and it's driving me mad! Here is a link to a product page I'm designing, where I've added the "View Demo" button in the Additional Information field: https://www.westcoastdigital.co.nz/website-templates/p/summer-template-squarespace-71-yoga-teacher-website If you can help me with code that would place it alongside the "Add To Cart" Button, that would be brilliant! Thanks, Sam Hi, I don't see button in Additional Info. You can add it then use this code to Website > Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('section.ProductItem-additional .button-block').appendTo('.sqs-add-to-cart-button-wrapper'); }) </script> tom43654329 and SBeneke 1 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
SBeneke Posted April 22 Share Posted April 22 Oh my god that works, brilliant! Thank you so much!! 😀 tuanphan 1 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