Emails restriction not respected

Hi Mattia,

Thank you for informing me of this issue. If a guest is shopping, normally the email address will not be entered until the checkout page, but a coupon may be auto applied before this step, e.g. in the cart page. If the coupon is restricted to particular users, WC should be removing the coupon on final step of checkout if the coupon is restricted by email. I’ll see if I can determine why removal is not happening.


Hi Mattia,
I have verified that the email restrictions on the coupon are checked by WooCommerce after payment details are submitted. If the email address does not match the coupon restrictions upon payment, then a notice about the coupon will display at that time. I looked into trying to force this evaluation sooner, but it seems that WooCommerce does not support this evaluation to occur before payment.



This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here