Hi Newbie Zen Cart user, here. I'm running v1.3.9h and I've run across something I can't untangle.
I've created a coupon that I want only deployed military customers (using APO/FPO addresses) to use. I have restrictions on the categories, and I set up a "military" zone that includes all the "states" (AE, AP, etc.).
It appears to work fine except for the problem that breaks it - that being, of course, that zone restrictions apply to the billing address, which is not the APO address. (In other words, when I use the APO address as the billing, it's applied as expected.)
I know what I'm wanting to do was actually a bug in previous versions. I've looked at some older versions of ot_coupon.php, but the code has changed enough that with my limited php knowledge I can't untangle it. Even if I could, I have no idea if other code needs modification as well.
I don't have any problem changing core code because (at this time), no other coupons would have a need for zone restrictions.
Any code snippets or advice would be most appreciated. I promised soldiers a coupon, but I don't want to post it until I can control who uses it.
Thanks!
Bookmarks