& not working on coupon fields for guest users #27601
Labels
needs: author feedback
The issue/PR needs a response from any of the parties involved in the issue.
type: duplicate
The issue/PR is a duplicate of another issue.
Special characters like "&" not working with coupon codes for guest users. For example, guest users cannot use coupons a@a.
It seems that the & symbol is breaking coupons. On Chrome/Firefox on Windows, when a coupon has the ampersand (&), it breaks the coupon and throws the message, "This coupon does not exist!" Replace the & with something "n" and it works; no problem.
Have not tested other special characters, but "!" works just fine.
Screenshot - https://prnt.sc/uctw3j
Woocommerce : 4.3.1
Wordpress : 5.5.1
The text was updated successfully, but these errors were encountered: