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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.