No. In the case of string comparisons such as against the string 'none', the use of == and === are synonymous. In the context of this present discussion, it's moot. Unrelated.
Printable View
Hi Guys. I need some help with this.
Is there anyway to have one or the other on the discount codes / gift vouchers.
To explain what I mean, for example:
A customer places a £30 order. She has a £6 gift certificate and also a 20% off code.
Is there anyway to allow ONE of the ways. Not both.
Thanks.
You'd have to customize it to work this way; nothing is built in.
Ok Thanks SWGuy! Do you know what files I would have to change?
Thanks.
Is this still the issue, or has this been reconsidered in an update since? I have a coupon code that I use weekly and accidently deleted it. If the case is that you cannot reactivate, nor completely delete, nor create another coupon with same code, what files would I go into to remove the information of the coupon code so that I may create another one exactly the same? Basically tricking the cart into thinking there was never that code and completely removing it.
Please let me know.
Thanks!
If you look at the Inactive Coupons, does it show?
If so ... is the only thing that happened to the Discount Coupon that you accidentally marked it Inactive?
Or ... did you delete it from the database in another manner such as through phpMyAdmin?
hi guys. i can't seem to find answer to this scenario.
we are trying to give one certain item discounted for the full amount of the product price (say $25.00), if someone uses a coupon and spends $50. this doesn't seem to be working.
i restricted all categories, and allowed only that certain product in coupon restriction. and in coupon i set up coupon amount 25.00 and minimum order $50. Now when i fill my cart up to $100 including this item, it shows that you must spend $50.00 and rejects the coupon.
coupon works only if i set coupon minimum amount to $25.00 and discounted amount to $25.00 with same restrictions above.
is there a workaround?
using zen-cart 1.5.0
thanks.
You could try this ot_coupon.php and see if it accomplishes what you are looking for ...
Ajeh, you are incredible!, thank you!
I do have my moments ... :smile:
Remember the Zen Cart Team when you are rich and famous!