Home Forums WoodMart support forum Hide Quantity in stock from sticky add to cart

Hide Quantity in stock from sticky add to cart

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #307977

    fjagsantos
    Participant

    Hi,

    I need to hide the quantity in stock from the sticky add to cart section.

    I’ve tried the following code from an older topic here at the forum, but it’s not working

    .woodmart-sticky-btn .stock {
    display:none;
    }

    Thanks in advance!

    #308048

    Hello,

    Please provide the page URL where you want to hide that I will give the custom CSS.

    Best Regards

    #308064

    fjagsantos
    Participant

    Hi, links bellow. I’ve randomly selected one product, but I want the stock quantity information hidden for all products

    #308173

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .wd-sticky-btn-cart .in-stock{
        display: none;
    }

    Best Regards

    #367068

    andreap116
    Participant

    Hey, Elise

    I tried to use the both of the above CSS to hide the stock info from the “Quick Shop”, and I didn’t work.
    Could u please help me?

    Thanks for your attention

    #367127

    Hello,

    Please provide the page URL and screen on what you want to hide.

    If you have any questions please feel free to contact us.

    Best Regards

    #367221

    andreap116
    Participant

    Hey, Elise

    Here it goes

    https://casaquerida.com.br/

    I would like to hide the “stock quantity” when the option “quick shop” is being used, as you can see in the sreenshot provided below.
    I have hide this info in the single page product already.

    Thanks for your attention

    Attachments:
    You must be logged in to view attached files.
    #367388

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .single_variation_wrap .woocommerce-variation-availability{
    display:none;
    }

    Best Regards

    #367397

    andreap116
    Participant

    Hey, Elise.

    It worked in my computer, but not on mobile.
    Sorry because I didn’t mention about the mobile in the previous post.
    Could you check it , please?

    Thanks for your attention

    #367560

    Hello,

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #368019

    andreap116
    Participant

    u can see it in the sreenshot below

    Thanks for your attention

    Attachments:
    You must be logged in to view attached files.
    #368235

    Hello,

    Most likely you have added the custom styles in one of the presets. I check and I do not see any: https://gyazo.com/b1ffa025247b1c8db9e12172d038e454

    Best Regards

    #368285

    andreap116
    Participant

    Hey, Elise.

    I have done as u said, but still not working on mobile.
    Could u check it , please?

    Thanks for your attention

    #368600

    Hello,

    Please clear the cache and check again, I check and I do not see the problem: https://gyazo.com/3c5c625f8bc74f2aea22ae1aa815f36b

    Best Regards

    #368727

    andreap116
    Participant

    Hey, Elise

    I have done what you said, but still didn’t work.
    You must choose and option in order to stock appear, as in the screenshot below.

    Thanks for your attention

    • This reply was modified 2 years ago by andreap116. Reason: forgot to include the screenshot
    Attachments:
    You must be logged in to view attached files.
    #368898

    Hello,

    I cannot catch the issue, please clear the browser and site cache once again and check, if it does not work, disable the cache plugins for a couple of minutes and check once more.

    Best Regards

    #369082

    andreap116
    Participant

    Hey, Elise.

    The cache plugin was not instaled when I notice the issue.
    I tested in a different mobile and it is still the same.
    When a choose an option (must check a variable product), in the quick shop the stock appears.

    Some of you send me the css below to remove the info and it works, but not on mobile.

    .single_variation_wrap .woocommerce-variation-availability{
    display:none;
    }

    Thanks for your attention

    #369353

    Hello,

    Please replace the code with this one:

    body .quick-shop-wrapper .woocommerce-variation > div {
    	display: none;
    }

    If you have any questions please feel free to contact us.

    Best Regards

    #369460

    andreap116
    Participant

    Done.

    Thanks.

    #369527

    You are welcome! We are here to help.

    Wish you a wonderful day!

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

The topic ‘Hide Quantity in stock from sticky add to cart’ is closed to new replies.