Home › Forums › WoodMart support forum › Shop filter showing data that does not exist › Reply To: Shop filter showing data that does not exist
April 26, 2021 at 8:24 pm
#286926
tchock
Participant
ok – I fixed this. It was a weird issue with WooCommerce. Apparently the height attribute was corrupted. When I tried editing it as an admin it was saying that I needed higher permissions to edit the offending attribute. Fixed by deleting and reassigning to the products.
Also, this snippet may be helpful to those that have many products or a crazy amount of attribute combinations in their store.
/* Increase Woocommerce Variation Threshold */
function wc_ajax_variation_threshold_modify( $threshold, $product ){
$threshold = '1111';
return $threshold;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ajax_variation_threshold_modify', 10, 2 );