0a3cf74c06
* Removed deprecated WC_COUPON::is_valid() method usage from CartController.php
* Reverted wrongly changed line.
* Added validate_coupon_allowed_emails() to WC_Discounts
* Added soft validation for allowed emails coupons, with custom notice via WC_Coupon::add_coupon_message()
* Fixed log warning
* Refactored add_coupon_message()
* Prevent duplicate coupon notices.
* Changed coupon soft validation notice type.
* Tweaks
* Run coupon soft validations only on cart validation.
* Reverted soft validation, and added email information for coupon validation
* Removed unused coupon message
* PHP lint fixes.
* Added changelog.
* PHP lint fix
* Updated allowed coupon validation error message
* Updated PW tests
* Updated PW tests
* Updated email restricted coupon message.
* Small change for readability.
* Different error messages for shortcode cart and shortcode checkout
* Simplified CartApplyCoupon::get_post_route_response()
* Revert "Simplified CartApplyCoupon::get_post_route_response()"
This reverts commit
|
||
---|---|---|
.. | ||
test | ||
index.ts | ||
use-store-cart-coupons.ts | ||
use-store-cart-event-listeners.ts | ||
use-store-cart-item-quantity.ts | ||
use-store-cart.ts |