Jump to content

Changing shoping cart titles

Go to solution Solved by Beyondspace,

Recommended Posts

Posted (edited)

Hello everybody!

I am wondering if there is any possibility to change the text of the shopping cart(the title, the button text, etc.) to the language I want, or maybe I can edit it somehow?

Any information will be appreciated! 🙂

image.thumb.png.8074be8f259e69b8fe3354682d8aee96.png

Edited by Modestas
  • Solution
Posted (edited)
On 7/27/2022 at 3:18 AM, Modestas said:

Hello everybody!

I am wondering if there is any possibility to change the text of the shopping cart(the title, the button text, etc.) to the language I want, or maybe I can edit it somehow?

Any information will be appreciated! 🙂

image.thumb.png.8074be8f259e69b8fe3354682d8aee96.png

I try using the pseudo element to replace the cart title


#cart .empty-message {
  visibility: hidden;
}

#cart .empty-message:before {
  content:'The Custom empty cart message';
  visibility: visible;

}

#cart .cart-title {
  visibility: hidden;
}


#cart .cart-title:before {
  content: 'Shopping cart change'  ;
  visibility: visible;
}

 

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
15 hours ago, Modestas said:

#1. Just tested on my site & the code is fine. What is your site url? We can check easier

#2. #3. Try this CSS

/* translate you have nothing in your cart */
p.empty-message {
    font-size: 0;
}
p.empty-message:before {
    content: "new content new content new content";
    font-size: 16px;
}
/* button */
a.cart-continue-button {
    font-size: 0 !important;
}
a.cart-continue-button:before {
    content: "new button";
    font-size: 18px !important;
}

 

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!)

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.