Jump to content

Changing shoping cart titles

Go to solution Solved by Beyondspace,

Recommended Posts

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
Link to comment
  • Solution
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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!)

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.