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.
This topic has 5 replies, 3 voices, and was last updated 9 months, 2 weeks ago ago by Andrew Mitchell
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.
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
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 );
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
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
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