Jump to content
madmartian

customize "out of stock" message by category or by product

Recommended Posts

For most categories, the default "out of stock" message works just fine. However, for items in the "Gallery" category, where each item is a custom made one-of-a-kind item, I want it to say "SOLD". And for items that are no longer available, in the "Discontinued" category, I want it to say "Sold Out". For all other categories "Out of Stock" is correct. Is there any way to base the wording on the category? In lieu of that, is it possible to set the wording on a per-item basis?

Edited by madmartian (see edit history)

Share this post


Link to post
Share on other sites
.category-23 #availability_value.label-danger{

    display:none;

}

.category-23 div#oosHook::after{

    content:"YOUR OUT OF STOCK CUSTOM MESSAGE";

    background-color: transparent!important;

    border: none!important;

    color: #e60000!important;

    font-weight: 100!important;

    font-size: 15px!Important;

}

Edited by Nicolai_P (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More