Theo4543 Posted May 12, 2021 Share Posted May 12, 2021 Site URL: https://www.addictgalerie.com/home Hey, I want to know if it's possible to change the word "aperçu rapide" on Squarespace. It's "Quick View" in English. Thank you Link to comment
tuanphan Posted May 14, 2021 Share Posted May 14, 2021 Hi. Which page in screenshot? 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
Theo4543 Posted May 18, 2021 Author Share Posted May 18, 2021 Hi it's https://www.addictgalerie.com/page-oeuvres-mechita Link to comment
tuanphan Posted May 18, 2021 Share Posted May 18, 2021 14 hours ago, Theo4543 said: Hi it's https://www.addictgalerie.com/page-oeuvres-mechita Add to Last line in Code Injection Footer <script> $(document).ready(function(){ $(".sqs-product-quick-view-button").html(function() { return $(this).html().replace("Aperçu rapide", "new text"); }); }); </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
Theo4543 Posted May 20, 2021 Author Share Posted May 20, 2021 Hello thank you! I don't understand why when I change the name "Aperçu rapide" this only changes the first 30 products and not the next. The next stay with the text "Quick view". (I have Lazy Summary extension) link page: https://www.addictgalerie.com/page-fosso Link to comment
creedon Posted May 20, 2021 Share Posted May 20, 2021 (edited) Lazy loading means that items aren't loaded until they are about to be needed. The code can only work on items that are actually loaded on the page. So when the page first loads. 30 items are brought in and the code runs to change those items. Then the changing code is finished it can't run anymore and can't change any items that are loaded later. Edited May 25, 2021 by creedon 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
Theo4543 Posted May 21, 2021 Author Share Posted May 21, 2021 14 hours ago, creedon said: @Theo4543 Lazy loading means that items aren't loaded until they are about to be needed. The code can only work on items that are actually loaded on the page. So when the page first loads. 30 items are brought in and the code runs to change those items. Then the changing code is finished it can't run anymore and can't change any items that are loaded later. There is any solution to get around this issue? Link to comment
creedon Posted May 21, 2021 Share Posted May 21, 2021 LS does have some hooks that might be able to do the replacement. 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
Theo4543 Posted May 24, 2021 Author Share Posted May 24, 2021 Helle I don't understand Link to comment
creedon Posted May 25, 2021 Share Posted May 25, 2021 (edited) If you click on the LS link I provided. There is a section on that page that describes a number of hooks that can be used to customize Lazy Summary items appearance. In your case I think one of the hooks could be used to change the Quick View text. I think what you need is someone who is familiar with LS hooks and can write code that can do what you need. Edited May 26, 2021 by creedon 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
Theo4543 Posted May 26, 2021 Author Share Posted May 26, 2021 Okay thank you to our reply 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