jacobtdb Posted March 19, 2020 Share Posted March 19, 2020 Hi, I want to change the text "from" before price for products with more variants Is that possible? Thanks for your help Best Regards Jacob Link to comment
jacobtdb Posted March 19, 2020 Author Share Posted March 19, 2020 To translate the word :-) Link to comment
jacobtdb Posted April 2, 2020 Author Share Posted April 2, 2020 On 3/19/2020 at 5:18 PM, paul2009 said: Please provide a little more information. It will help us if you include a working link to the page and explain what you want to change about the text "from". For example, is it the size, the font or do you want to translate the word? To translate the word :-) Link to comment
tuanphan Posted April 11, 2020 Share Posted April 11, 2020 On 4/2/2020 at 7:58 PM, jacobtdb said: To translate the word :-) have you solved yet? If no, can you share link to your site? 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
jacobtdb Posted April 14, 2020 Author Share Posted April 14, 2020 On 4/11/2020 at 10:56 AM, tuanphan said: have you solved yet? If no, can you share link to your site? No, not yet. Here is the link: https://www.truenorth-designs.dk/webshopdanmark Link to comment
Mr-WOODLVING Posted December 3, 2020 Share Posted December 3, 2020 I have similar problem. I want to change "from 445.00" to "fra 445.00" It is basically the same just in Danish. Link to comment
tuanphan Posted December 5, 2020 Share Posted December 5, 2020 On 12/3/2020 at 4:23 PM, Mr-WOODLVING said: I have similar problem. I want to change "from 445.00" to "fra 445.00" It is basically the same just in Danish. If you share link to a product, we can check easier 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
jacobtdb Posted December 10, 2020 Author Share Posted December 10, 2020 On 12/6/2020 at 12:08 AM, tuanphan said: If you share link to a product, we can check easier Try this: https://www.truenorth-designs.dk/webshop/salon-konsolbord Link to comment
DavidHortvik Posted January 15, 2021 Share Posted January 15, 2021 Hi, I just came across the same thing. I would like to translate the word "from " price on my websites as well. On template 7.0. Have you had luck and solved this? Thanks, David Link to comment
tuanphan Posted January 18, 2021 Share Posted January 18, 2021 On 12/10/2020 at 8:27 PM, jacobtdb said: Try this: https://www.truenorth-designs.dk/webshop/salon-konsolbord 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() { $("#productDetails .product-price").html(function() { return $(this).html().replace("from", "new text"); }); }); </script> Can you share link to a product? On 1/16/2021 at 12:59 AM, DavidHortvik said: Hi, I just came across the same thing. I would like to translate the word "from " price on my websites as well. On template 7.0. Have you had luck and solved this? Thanks, David 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
DavidHortvik Posted January 18, 2021 Share Posted January 18, 2021 (edited) Hi, please check https://www.ekustik.cz/katalog/absorber-woody-kid My site is in Czech language and the "from" is the last big visible thing in english: Btw, do you think the "select" could be changed too? Either to translate it or hide it. Thank you! Edited January 18, 2021 by DavidHortvik Link to comment
tuanphan Posted January 20, 2021 Share Posted January 20, 2021 On 1/18/2021 at 3:36 PM, DavidHortvik said: Hi, please check https://www.ekustik.cz/katalog/absorber-woody-kid My site is in Czech language and the "from" is the last big visible thing in english: Btw, do you think the "select" could be changed too? Either to translate it or hide it. Thank you! With form, add to Design > Custom CSS .product-price { visibility: hidden; } .product-price * { visibility: visible; position: absolute; margin-left: -50px; } With select, try this guide. 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
DavidHortvik Posted January 20, 2021 Share Posted January 20, 2021 Hi, thanks, this works partially. When I choose different option of the product, it then hides the whole price. I assume that it's because the price of the variant is not "from price" but the final price. And by moving it 50px to the left I cover it. It's interesting how there is just no way to simply change the word 'from' to any other word I would like... The second option to remove "select" works only on 7.1, so that's a bummer. Anyways, thanks for the help 🙂 Link to comment
jacobtdb Posted January 26, 2021 Author Share Posted January 26, 2021 On 1/18/2021 at 7:36 AM, tuanphan said: 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() { $("#productDetails .product-price").html(function() { return $(this).html().replace("from", "new text"); }); }); </script> Can you share link to a product? Thanks it works great! :-) Also how can i change the text "from" on pages like here ? https://www.truenorth-designs.dk/hjemmearbejdspladser Its just under the Product Title Best regards Jacob Link to comment
jacobtdb Posted January 26, 2021 Author Share Posted January 26, 2021 37 minutes ago, jacobtdb said: Thanks it works great! :-) Also how can i change the text "from" on pages like here ? https://www.truenorth-designs.dk/hjemmearbejdspladser Its just under the Product Title Best regards Jacob Just found a code that solved this problem - exchange 'fra' with your own text. Add this to Home > Settings > Advanced > Code Injection > Footer <script> $('.product-price').each(function() { var text = $(this).text(); $(this).text(text.replace('from', 'fra')); }); </script> tuanphan 1 Link to comment
Jackfrompsc Posted December 29, 2021 Share Posted December 29, 2021 On 1/26/2021 at 3:41 PM, jacobtdb said: Just found a code that solved this problem - exchange 'fra' with your own text. Add this to Home > Settings > Advanced > Code Injection > Footer <script> $('.product-price').each(function() { var text = $(this).text(); $(this).text(text.replace('from', 'fra')); }); </script> Hey any update on this as it dosent seem to be working for me? cheers Link to comment
creedon Posted December 29, 2021 Share Posted December 29, 2021 @Jackfrompsc Please see the following. 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
Jackfrompsc Posted December 30, 2021 Share Posted December 30, 2021 11 hours ago, creedon said: @Jackfrompsc Please see the following. Let us know how it goes. Hey! Cheers for the quick response, i have had a look and this and it does work but would there be any way to only show a price after all varients (selections) have been made? creedon 1 Link to comment
creedon Posted December 30, 2021 Share Posted December 30, 2021 8 hours ago, Jackfrompsc said: would there be any way to only show a price after all varients (selections) have been made? This is a different feature than changing the from. It is easier to help if we can keep each thread to one topic. Please start a new thread with your request. I think it could be done. 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
mgroeteke Posted March 1 Share Posted March 1 Useful thread! Would there be also a code for changing the "from" text on the shop page like this one one my website? https://architectureshooting.com/druckeditionen-fine-art-print-editions My template is wells. Thank you and cheers Markus markus/architectureshooting web site: http://architectureshooting.com Link to comment
tuanphan Posted March 3 Share Posted March 3 On 3/2/2024 at 12:45 AM, architectureshooting said: Useful thread! Would there be also a code for changing the "from" text on the shop page like this one one my website? https://architectureshooting.com/druckeditionen-fine-art-print-editions My template is wells. Thank you and cheers Markus Try this code to Last Line in Code Injection > Footer <script> $(document).ready(function(){ $(".product-price").html(function() { return $(this).html().replace("from", "new text"); }); }); </script> 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
mgroeteke Posted May 25 Share Posted May 25 Forgot to thank for this one 😀👌 markus/architectureshooting web site: http://architectureshooting.com 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