diff --git a/classes/CommercePosTransactionBaseActions.php b/classes/CommercePosTransactionBaseActions.php index 7caea91..9b94a01 100644 --- a/classes/CommercePosTransactionBaseActions.php +++ b/classes/CommercePosTransactionBaseActions.php @@ -168,7 +168,7 @@ public function setOrderCustomer($user) { /** * Adds the specified product to transaction order. */ - public function addProduct($product, $quantity = 1, $combine = TRUE, $price = NULL, $line_item_type = 'product') { + public function addProduct($product, $quantity = 1, $combine = FALSE, $price = NULL, $line_item_type = 'product') { if (!in_array($product->type, CommercePosService::allowedProductTypes())) { return FALSE; } diff --git a/includes/commerce_pos.transaction.inc b/includes/commerce_pos.transaction.inc index 72e22ac..5509000 100644 --- a/includes/commerce_pos.transaction.inc +++ b/includes/commerce_pos.transaction.inc @@ -543,7 +543,7 @@ function commerce_pos_transaction_ajax_check(&$form, &$form_state) { $transaction->addProduct($product); } else { - $transaction->addProduct($product, 1, TRUE, NULL, 'commerce_pos_return'); + $transaction->addProduct($product, 1, FALSE, NULL, 'commerce_pos_return'); } }