Clarilou Posted November 23, 2020 Share Posted November 23, 2020 Site URL: https://gecko-lettuce-sw56.squarespace.com Hi, I am looking to change the add to cart button to add to bag - cannot work out how to do it on 7.1 . I can do it for each individual item but is there a way of making it universal on the site? Would also be great to change the width, currently set on 100% but would love wider, and also how to change the font style. Mostly just need to change the actual words Password - AMOAMOAMO Thank you x Link to comment
tuanphan Posted December 4, 2020 Share Posted December 4, 2020 Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $(".sqs-add-to-cart-button-inner").html(function() { return $(this).html().replace("Add To Cart", "New text"); }); }); </script> m_lundberg 1 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
Franziska Posted May 6, 2021 Share Posted May 6, 2021 I managed to change the add to cart button text, but still didn't figure out a way to change the "adding" and "added!" animation text that appears after clicking the button. Any ideas on that? Thank you! KrisC 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