CMXX - Improved whereclause

This commit is contained in:
“VeLiTi”
2025-02-20 13:35:59 +01:00
parent 3aaa6c6680
commit 4c6ed0d203
83 changed files with 897 additions and 1274 deletions

View File

@@ -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,