Jump to content

How to hide inventory quantity from customers on my site?

Recommended Posts

Add to Home > Design > Custom CSS

body.cart .Confirmation-message-3jBKM {
    visibility: hidden;
}
body.cart .Confirmation-message-3jBKM:before {
    visibility: visible;
    content: "Enter your new text";
    display: block;
}

 

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
On 7/11/2020 at 7:03 PM, tuanphan said:

 


body.cart .Confirmation-message-3jBKM {
    visibility: hidden;
}
body.cart .Confirmation-message-3jBKM:before {
    visibility: visible;
    content: "Enter your new text";
    display: block;
}

 

 

Edited by jfrank
Link to comment
6 hours ago, rwp said:

If you don't want it to show when you add to cart from a product page you will need to do the same for:


.sqs-widgets-confirmation-content.clear .message

 

You are so right. I checked and it does show on the product page. How would I code that? I tried this: 

.sqs-widgets-confirmation-content.clear .message3jBKM {
    visibility: hidden;
}.sqs-widgets-confirmation-content.clear .message-3jBKM:before {
    visibility: visible;
    content: "Enter your new text";
    display: block;
}

 

It did not work lol.

Edited by jfrank
Link to comment
.sqs-widgets-confirmation-content.clear .message,
body.cart .Confirmation-message-3jBKM {
    visibility: hidden;
}

.sqs-widgets-confirmation-content.clear .message:before,
body.cart .Confirmation-message-3jBKM:before {
    visibility: visible;
    content: "Enter your new text";
    display: block;
}

 

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.