Jump to content

Change the word 'Quantity' in store

Go to solution Solved by tuanphan,

Recommended Posts

Hello, 

I am trying to change the word 'quantity' on my service items in my store. However after 15-20 mins the code below changes to everything to Quantity (1 Ticket) in my store.  Any assistance would be appreciated 

website: https://www.canadamga.ca/store/p/cmga-angus-glen-golf-tournament-solo-ca23g-m54h6

code: 

#item-656fd3d8dad09a7a18b6c37f .quantity-label { visibility: hidden; } .quantity-label:before { visibility: visible; content:
"Quantity (4 Tickets)"; display: block; }
#item-656fca47263fd234be06c04e
.quantity-label { visibility: hidden; } .quantity-label:before { visibility: visible; content:
"Quantity (1 Ticket)"; display: block; }
#item-65b00151b67fcf78a112eda8
.quantity-label { visibility: hidden; } .quantity-label:before { visibility: visible; content:
"Quantity (4 Tickets)"; display: block; }
#item-65a9d3f860f1595519aea2c2
.quantity-label { visibility: hidden; } .quantity-label:before { visibility: visible; content:
"Quantity (1 Ticket)"; display: block; }

Link to comment
  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

On 3/17/2024 at 5:27 AM, tuanphan said:

Edit your product > Edit Additional Info > Add a Block > Choose Code > Paste this code

<style>
  .quantity-label {
    visibility: hidden;
}
.quantity-label:before {
    visibility: visible;
    content: "new label";
}
</style>

 

Thanks for your reply. This does change the label Quantity, but it does it for all the items in my store. Some items have 1 quantity and some have 4. 
I added the product ID before .quantity-label but it did not work 

I added 

Link to comment
  • Solution
On 3/19/2024 at 7:11 AM, canadamga said:

Thanks for your reply. This does change the label Quantity, but it does it for all the items in my store. Some items have 1 quantity and some have 4. 
I added the product ID before .quantity-label but it did not work 

I added 

Where did you add the code? Have you followed this or you added to another place?

image.thumb.png.a1ff004b09af9230e83922a6e73a4e03.png

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.