Home Forums WoodMart support forum Hide quantity level

Hide quantity level

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26757

    pehowden
    Participant

    My product page is showing whether product is in stock or not which is good but it also shows how many in stock. How do I remove the number in stock i.e. so does not show on page?

    #26760

    Artem Temos
    Keymaster

    Hi,

    Please, provide us an access to the product page where we can see this number so we can provide you a custom CSS snippet to hide it.

    Regards

    #26857

    pehowden
    Participant

    I want it to say In Stock but I don’t want to show the number of how many. see attachment

    #26876

    Bogdan Donovan
    Keymaster

    Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.

    form.variations_form .in-stock {
    	font-size: 0;
    }
    
    form.variations_form .in-stock:before {
    	font-size: 14px;
    }
    
    form.variations_form .in-stock:after {
    	font-size: 14px;
    	content: "In Stock";
    }

    Regards

    #26945

    pehowden
    Participant

    thank you. works great.

    #26949

    Artem Temos
    Keymaster

    You are welcome!

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Hide quantity level’ is closed to new replies.