Open mrabbani opened 3 months ago
The recent changes enhance the coupon management system for vendors by modifying a condition message within ensure_vendor_coupon
to specify that a product-bound restriction is required only when the "pro" feature is deactivated. Additionally, product category selection support is implemented on the frontend for vendor coupons.
Files | Change Summary |
---|---|
includes/Order/Hooks.php | Updated condition and exception messages in ensure_vendor_coupon . |
includes/Order/Hooks.php | Added logic for ensuring product category selection when the "pro" feature is deactivated. |
Objective (Issue #) | Addressed | Explanation |
---|---|---|
Add product category selection support to vendor coupon on the frontend (#2329) | ✅ |
In the vendor's digital space so bright, Coupons gain new wings, now in flight, With categories chosen, so precise, Pro or free, they add a slice, Of joy and sales in every byte!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All Submissions:
Related PR
Changes proposed in this Pull Request:
How to test the changes in this Pull Request:
1. 2. 3.
Changelog entry
PR Self Review Checklist:
FOR PR REVIEWER ONLY:
Summary by CodeRabbit