Out of stock label is not seen on attributes in product page

This topic has 5 replies, 3 voices, and was last updated 9 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: MESUT YILMAZ
    MESUT YILMAZ
    Participant
    March 4, 2025 at 20:19

    Hello,

    Out of stock label is not seen on attributes in product page which items has zero stock. But the label is showing in home page and qucik view page.

    Thank you.

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 5, 2025 at 10:32

    Hello,

    Thank you for reaching out to us.

    WooCommerce > Settings > Products > Inventory > Out of stock visibility > Hide out-of-stock items from the catalog. Clear cache and check the result.

    If this doesn’t help, we recommend that you disable all third-party plugins that are not included with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/). After doing so, please clear your browser’s cache and check again. It is possible that one of these additional plugins is causing the issue.

    Best regards,
    8Theme’s Team

    Avatar: MESUT YILMAZ
    MESUT YILMAZ
    Participant
    March 6, 2025 at 20:00

    Hello,
    Thank you for your assisting. I found the solution with adding code into function.php.

    The code is :

    function custom_wc_ajax_variation_threshold( $qty, $product ) {
    return 100;
    }

    add_filter( ‘woocommerce_ajax_variation_threshold’, ‘custom_wc_ajax_variation_threshold’, 10, 2 );

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 7, 2025 at 09:19

    Hello, MESUT YILMAZ,

    Thank you for reaching out to us. We appreciate your update and are glad to hear that you have found a solution by adding the code to the functions.php file.

    If you require any further assistance, please do not hesitate to contact us.

    Best regards,
    8Theme’s Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 7, 2025 at 11:51

    Dear MESUT YILMAZ,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Out of stock label is not seen on attributes in product page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.