Totally Zenned
- Join Date:
- Oct 2007
- Location:
- Australia
- Posts:
- 814
- Plugin Contributions:
- 0
Coupon error with restrictions set
I am getting the following error with coupons when there is a category set to allow and then a product within that category also set to allow, when attempting to use the coupon customers get a blank page with the following message
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND coupon_restrict = 'Y' AND coupon_id = 53 LIMIT 1' at line 3
in:
[SELECT count(*) AS total FROM coupon_restrict AND coupon_restrict = 'Y' AND coupon_id = 53 LIMIT 1]
```...the error goes away if I remove the category restriction and just keep the product restriction....how do I fix this?
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe