fbpx
Enjoy Year-End Sale: 50% Off All Plugins! Coupon Code: NewYear2025

There is no marking of a variation that has run out when there are many variations

הוספתי את הקוד הזה וזה לא עזר, גרסת פרו כמובן
מה עוד אפשר לעשות?

 

add_filter( 'woo_variation_swatches_global_ajax_variation_threshold_max', 'woo_variation_swatches_global_ajax_variation_threshold_max_edit', 10, 2 );
function woo_variation_swatches_global_ajax_variation_threshold_max_edit( $size, $product ){
return 700;
}

Golam Kibria

Hi Rachel,

Please try increasing the number to 1100

Let me know if the issue is resolved.

Thank You