Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to change text/language on the purchase button and the Quantity text in Store


torgrim

Recommended Posts

Hi! 
I'm trying to change the "Purchase" (Purchase botton) & "Quantity" text under products in the store. It seems like it is set this way and that it only allows english, germane, spanish and french. I would like to change to another language, by changing it manually, since the language is not available on Squarespace. 

Thank you! 

Screen Shot 2020-04-28 at 17.33.05.png

Link to comment

Yes. You can. Can you share link to product page?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Actually figured out the "Purchase" button. Under "edit service product" and "Options", select the button "Use custom Add button label". 

Still have not figured out how to change the text/language on the "quantity" and "product variants".

Thank you again so much to @tuanphan for very kind help!

Link to comment

Home - Design - Custom CSS: 

.quantity-label {
    visibility: hidden;
}
.quantity-label:before {
    visibility: visible;
    content: "Quantity";
}

Change the word "Quantity"  to whatever language you want. 

Thank you so much @tuanphan

Link to comment
  • 6 months later...

Thank you for your code, It works for me. I needed to put 'Quantité' (french word) instead of 'Quantity'.    But I still have a small small question about that code line: the word 'Quantité' is not centered even when I put the setting to center it. It appears 4 spaces to the left, any idea how to fix this detail?

 

not-centered.jpg

Link to comment
5 hours ago, Amsterixe said:

Thank you for your code, It works for me. I needed to put 'Quantité' (french word) instead of 'Quantity'.    But I still have a small small question about that code line: the word 'Quantité' is not centered even when I put the setting to center it. It appears 4 spaces to the left, any idea how to fix this detail?

 

Can you share link to product in screenshot? We can check easier.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 2 months later...

@Amsterixe

Replace the .quantity-label:before rule-set with the following.

.quantity-label {

  visibility : hidden;
  
  }

.quantity-label:before {

  content : 'Quantité:';
  display : block;
  text-align : center;
  visibility : visible;
  
  }

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

Actually, now it puts Quantity in both languages, is there a way to just put the word in french?

here is my code

.quantity-label:before {

  content: 'Quantité';
  display : block;
  text-align: center;
  visibility: visible;
  
  }

#cart .CartTable-itemPrice-XgjsO .CartTable-itemLabel-3zzV1 span:after {      content: ' | Prix';      } #cart .CartTable-itemQuantity-225eT .CartTable-itemLabel-3zzV1:before {      content: 'Quantité';      } #cart .CartTable-itemQuantity-225eT .CartTable-itemLabel-3zzV1 span {   display: none;      } #cart .CartTable-subtotalLabel-3qWE9 span:after {   content: ' | Sous-total';      } #cart .checkout-button:after {   content: ' | Paiement';      }Untitled-1.jpg.72707ceca700a3cc56627c751cef2209.jpg

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...