Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

& not working on coupon fields for guest users #27601

Closed
gayathri-storepro opened this issue Sep 7, 2020 · 2 comments
Closed

& not working on coupon fields for guest users #27601

gayathri-storepro opened this issue Sep 7, 2020 · 2 comments
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.

Comments

@gayathri-storepro
Copy link

gayathri-storepro commented Sep 7, 2020

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

@juliaamosova
Copy link
Contributor

Hi @gayathri-storepro,

Thanks for reporting the issue. However, it seems to be a duplicate of #23655 which we fixed via #27140 and released yesterday in WooCommerce 4.5.

I see that you are using WooCommerce 4.3.1. Can you please update to WooCommerce 4.5, test, and let us know if the issue is fixed for you?

@juliaamosova juliaamosova added type: duplicate The issue/PR is a duplicate of another issue. needs: author feedback The issue/PR needs a response from any of the parties involved in the issue. labels Sep 9, 2020
@gayathri-storepro
Copy link
Author

Thanks, @juliaamosova , it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants