• Resolved jacekarwal

    (@jacekarwal)


    How can I hide no stock in product descritption ? Here is part of description from https://wp.arwal.com.pl/produkt/kasa-novitus-nano-online-gsm/

    Kasa Novitus Nano Online GSM

    2078,70 z?
    2723,10 z? z VAT

    NANO online to wszechstronna kasa, dedykowana zarówno do pracy stacjonarnej jak i w terenie, w us?ugach oraz ?rednich i ma?ych placówkach handlowych. Zaufaj marce, u?ywanej przez ponad 900 000 u?ytkowników. Jest to najmniejsza kasa fiskalna w ofercie NOVITUS, która jednocze?nie obs?uguje komunikacj? z Centralnym Repozytorium Kas (CRK), zgodnie z wymogami Rozporz?dzenia Ministra Przedsi?biorczo?ci i Technologii z dnia 28 maja 2018 r. w sprawie kryteriów i warunków technicznych, którym musz? odpowiada? kasy rejestruj?ce. Kopia wydruku dla u?ytkownika przechowywana jest w pami?ci chronionej urz?dzenia, a dost?p do niej jest realizowany poprzez dedykowan? aplikacj?.

    Brak w magazynie

    At the bottom of description is

    Brak w magazynie

    which means no stock, in woocommerce options I have set don’t show stock but this info is still visible

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @jacekarwal

    How can I hide no stock in product descritption ? Here is part of description from https://wp.arwal.com.pl/produkt/kasa-novitus-nano-online-gsm/

    At the bottom of description is: Brak w magazynie which means no stock, in woocommerce options I have set don’t show stock but this info is still visible

    From what I understand, you’re having trouble with the ‘Out of Stock‘ message still being displayed on your product page, despite setting the option in WooCommerce to not show stock.

    In WooCommerce, the ‘Allow backorders‘ option might be the solution for this issue. This setting is located under the product inventory settings. When you allow backorders without any notice, it will prevent the ‘Out of Stock‘ message from being displayed even if the product is out of stock.

    Here are the steps to set this up:

    1. Go to your WordPress Dashboard.
    2. Click on ‘Products‘.
    3. Select the product you want to edit.
    4. Scroll down to the ‘Product data‘ section.
    5. Click on the ‘Inventory‘ tab.
    6. Locate the ‘Allow backorders?‘ option.
    7. Select ‘Allow, but notify customer‘.
    8. Click ‘Update‘ to save your changes.

    Image Link: https://snipboard.io/IkP9bU.jpg

    ?? Want to know more about Adding and Managing Products? Click Here

    Please make sure you follow these steps for each product you want to hide the ‘Out of Stock‘ message for. If you have already set this option and the ‘Out of Stock‘ message is still being displayed, it might be due to a caching issue or a conflict with your theme or another plugin.

    Here’s how you can troubleshoot this:

    1. Check Theme Settings: Some WordPress themes have their own settings for WooCommerce, which might override WooCommerce’s settings. Please check your theme’s settings or documentation to see if it has the option to hide the stock status.
    2. Check for Plugin Conflicts: Deactivate all your plugins except WooCommerce to see if any of them might be causing the issue. If the issue disappears, reactivate your plugins one by one until you find the one causing the problem. Once you’ve identified the plugin, you can decide whether to keep it, find an alternative, or reach out to the plugin’s support for further assistance.
    3. Use Custom CSS: If the above steps don’t work, you can hide the stock status using custom CSS. Add the following code to Appearance > Customize > Additional CSS:  
    .woocommerce div.product p.stock.out-of-stock { 
    display: none; 
    }

    This will hide the ‘Out of Stock label on all your products. Please note that this should be used as a last resort, as it doesn’t actually remove the label but just hides it from view.

    I hope this helps! If you have any further questions or need additional assistance, please don’t hesitate to ask.

Viewing 1 replies (of 1 total)
  • The topic ‘disable no stock in product description’ is closed to new replies.