Jump to content

Subscription - change wording in shop

Recommended Posts

  • Replies 8
  • Views 292
  • Created
  • Last Reply

Top Posters In This Topic

On 3/26/2022 at 9:04 PM, frejafloobza said:

Yes exactly! 

Try adding to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $(".grid-prices").html(function() { 
          return $(this).html().replace("alle", "für");  
    });
});
</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
6 hours ago, tuanphan said:

Try adding to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $(".grid-prices").html(function() { 
          return $(this).html().replace("alle", "für");  
    });
});
</script>

Thank you it worked.

However when I open the subscription here:

https://www.freja.ch/shop/p/abo-bakers-choice

It is still alle and not für. How can I change that too?

Link to comment

Try this new code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $(".product-price").html(function() { 
          return $(this).html().replace("alle", "für");  
    });
});
</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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.