Jump to content

How to hide inventory quantity from customers on my site?

Recommended Posts

  • Replies 5
  • Views 801
  • Created
  • Last Reply

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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;
}

 

 

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.