Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion classes/CommercePosTransactionBaseActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion includes/commerce_pos.transaction.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down