Revert this change for a different PR

This commit is contained in:
roykho 2021-06-25 14:08:06 -07:00
parent 1b8acc567b
commit c56f4dea20
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class WC_Discounts {
$item->object = $cart_item;
$item->product = $cart_item['data'];
$item->quantity = $cart_item['quantity'];
$item->price = wc_add_number_precision_deep( (float) $item->product->get_price() * (int) $item->quantity );
$item->price = wc_add_number_precision_deep( $item->product->get_price() * $item->quantity );
$this->items[ $key ] = $item;
}