Jump to content

Changing "Wording" of the checkout page

Go to solution Solved by tuanphan,

Recommended Posts

You can try these:

Using javascript:

<script>

el = document.querySelector("[class^='CheckoutTotal-label-']")
el.innherHTML = "Your word"

</script>

or Using css :

[class^='CheckoutTotal-label-'] {
  visibility: hidden
}

[class^='CheckoutTotal-label-']::before {
  content:'Your text'; 
  visibility: visible;
}

This selector [class^='CheckoutTotal-label'] is trying to find element who has attribute class and the value of attribute starts with CheckoutTotal-label-

Edited by Vicks
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.