We’ve noticed yet another new error with the theme today and it has to do with the product detail page.
The issue happens whenever a product has more than 4 product variants, it no longer shows the x cross out on the option to reveal that it’s out of stock normally but rather, it shows a blue message box with an error message saying “Sorry, no products matched your selection. Please choose a different combination.”
We believe that this is an issue with theme and is very random because it only occurs after we add more than 4 variants.
I’ve included link to screenshot showing the issue along with links to 2 products, one behaving correctly and another incorrectly.
Site URL: hidden Theme version: 8.1.5 WooCommerce version: 6.1.2Hello,
It’s not theme issue, it’s related to WooCommerce plugin. Read this topic, please https://www.8theme.com/topic/exhausted/
Regards
We found the following code snippet to fix the problem:
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 10;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 );
The topic ‘Product Detail Page showing different error state when variation is out of stock’ is closed to new replies.
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.