Open jorgepcbraz opened 4 years ago
Hi, in
you were calling if( $product->product_type != 'simple' ) { return $default; }
and that should be corrected to if( $product->is_type( 'simple' ) ) { return $default; }
I will create a PR to solve this
Hi, in
you were calling if( $product->product_type != 'simple' ) { return $default; }
and that should be corrected to if( $product->is_type( 'simple' ) ) { return $default; }
I will create a PR to solve this