Coupons from database issues
Hi there, I am trying to implement coupons using values from a recordset, and things are going wonky. First of all, I went through all of the documentation and the forum, and although I think I followed everything to a T, the discounts are not being applied, and my cart.php page is no longer showing subtotal, discount or grand total.
After trying a few more things, I got these errors:
Notice: Undefined variable: row_rsCouponFlat in /shop/cart.php on line 20
Notice: Undefined variable: row_rsCouponFlat in /shop/cart.php on line 32
Notice: Undefined variable: row_rsCouponFlat in /shop/cart.php on line 38
Notice: Undefined index: CouponData in /WA_eCart/CedarChest_PHP.php on line 131
Notice: Undefined index: CouponData in /WA_eCart/CedarChest_PHP.php on line 131
The recordset is there, so I have no idea why it would be returning those errors.
When I tested everything using a coupon and code using the "static" way of doing things, it worked just fine.
Does anyone have any advice?
Thanks much, and happy Labor Day!
-bec.