Coupon restrictions, confusion.
zc158a (now-current GitHub versions), PHP 8.2. Demo products installed.
Created a discount coupon with a restriction on the "Graphics Cards" category (Allow) and a product restriction to allow the "Microsoft IntelliMouse Explorer" product which isn't in that category.
I was thinking (apparently incorrectly) that that would create a coupon that was restricted to all products in "Graphics Cards" as well as that single product. I then added "Lethal Weapon Linked" (a product that is neither in that allowed category nor that allowed product) and the restricted coupon provided its discount during checkout.
Am I just not understanding how the coupon restrictions work or is this a bug?
Re: Coupon restrictions, confusion.
Please post a screenie of the coupon restrictions edit screen.
1 Attachment(s)
Re: Coupon restrictions, confusion.
Attachment 20217
Screenshot provided, per request.
Re: Coupon restrictions, confusion.
OK, the underlying issue (besides not doing the RTFM), was that the current zc158(a) GitHub when creating a restricted coupon no longer gave the option to deny/allow all products since the 'Top' category was no longer displayed.
The issue is described in this (https://github.com/zencart/zencart/issues/5625) Zen Cart issue, with a correction currently provided via PR.