CMXX - Improved whereclause
This commit is contained in:
@@ -110,6 +110,11 @@ if (isset($post_content['cart']) && isset($post_content['checkout_input']) && is
|
||||
$stmt->execute([$transaction_id, $product['id'], $product['options_price'], $product['quantity'], $options]);
|
||||
}
|
||||
|
||||
//CHECK IF GIFTCARD IS USED AND THEN DISABLE IT
|
||||
if ($checkout_input['discount_code'] !=''){
|
||||
useGiftCart($pdo,$checkout_input['discount_code'],$partner_product);
|
||||
}
|
||||
|
||||
//Return to checkout page
|
||||
$messages = [
|
||||
"id" => $transaction_id,
|
||||
|
||||
Reference in New Issue
Block a user