idiotic missed semicolon
I cannot brain today, I has the dumb.
This commit is contained in:
parent
b763c7449a
commit
4c1f80b23d
|
@ -986,7 +986,7 @@ class WC_Cart {
|
||||||
|
|
||||||
// Sale Items excluded from discount
|
// Sale Items excluded from discount
|
||||||
if ( $coupon->exclude_sale_items() && sizeof( woocommerce_get_product_ids_on_sale() ) > 0 )
|
if ( $coupon->exclude_sale_items() && sizeof( woocommerce_get_product_ids_on_sale() ) > 0 )
|
||||||
$product_ids_on_sale = woocommerce_get_product_ids_on_sale()
|
$product_ids_on_sale = woocommerce_get_product_ids_on_sale();
|
||||||
if ( in_array( $values['product_id'], $product_ids_on_sale ) || in_array( $values['variation_id'], $product_ids_on_sale ) || in_array( $values['data']->get_parent(), $product_ids_on_sale ) )
|
if ( in_array( $values['product_id'], $product_ids_on_sale ) || in_array( $values['variation_id'], $product_ids_on_sale ) || in_array( $values['data']->get_parent(), $product_ids_on_sale ) )
|
||||||
$this_item_is_discounted = false;
|
$this_item_is_discounted = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue