Jump to content

Shopping cart French translation : custom CSS ?

Recommended Posts

Site URL: https://www.alexandrelawniczak.fr

Hi folks :)
I'm launching my new online store, & I need your help & advice
The products will only be delivered in France (for the moment) and I wish to modify the texts of my shops
For ex
- shopping cart (UK) > panier (FR)
- item (UK) > Produit (FR)
- edit details (UK) > finition de l'encadrement (FR)
- subtotal (UK) > sous-total (FR)
- cart (UK) > panier (FR)

I have already managed to do some French translation by following the advice of Mr. Creedon in the forum, but I don't know how to do for the above texts

#cart .CartTable-itemPrice-XgjsO .CartTable-itemLabel-3zzV1:before
{content: 'Prix';}
#cart .CartTable-itemPrice-XgjsO .CartTable-itemLabel-3zzV1 span 
{display: none;}
#cart .CartTable-itemQuantity-225eT .CartTable-itemLabel-3zzV1:before
{content: 'Quantité';}
#cart .CartTable-itemQuantity-225eT .CartTable-itemLabel-3zzV1 span
{display: none;}
#cart .checkout-button:before
{content: 'Paiement';}
#cart .checkout-button span
{display: none;}

Is it possible ? Thank you in advance for your help 🙏
Have a good day


Capture d’écran 2020-12-13 à 15.23.02.png

Link to comment
38 minutes ago, AlexandreZak said:

I'm launching my new online store. The products will only be delivered in France (for the moment) and I wish to modify the texts of my shops

I see you are using a template in the Pacific template family. Did you know that you can change your site language to French if you are using the Charlotte, Naomi or Pacific template in the Pacific template family?

To change your site’s language:

  • Go to SettingsLanguage & Region.
  • Under the map, click the Language drop-down menu.
  • Select French.
  • Depending when your site was created, you may also see a Localize website toggle. If you do, switch it on.
  • Click Save at the top of the panel.

Once saved, you’ll see all built-in text on your site in French.

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.