Title: Bug with coupon code
Last modified: June 28, 2023

---

# Bug with coupon code

 *  Resolved [calyweb](https://wordpress.org/support/users/calyweb/)
 * (@calyweb)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/bug-with-coupon-code/)
 * Hi
 * You have a bug with the sale badge and the coupon code
 * To make the test on your side, just create a coupon code and restrict it only
   on products that are not on sale
 * If the sale badge type is set to “Sale” no problem, when you try to apply the
   coupon, you have the message saying that the coupon code is not possible for 
   this product
 * BUT if i set the sale badge type to “Discount”, the notice message of coupon 
   code not work anymore, we have a success message with empty discount and so not
   nice at all for the customer which don’t undertand why the coupon code do nothing
 * [https://ibb.co/rdsLVmp](https://ibb.co/rdsLVmp)
   [https://ibb.co/xYKPLYm](https://ibb.co/xYKPLYm)
   [https://ibb.co/y5YnTn3](https://ibb.co/y5YnTn3)
 * Thanks for your feedback

Viewing 1 replies (of 1 total)

 *  Plugin Author [AsanaPlugins](https://wordpress.org/support/users/asanaplugins/)
 * (@asanaplugins)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/bug-with-coupon-code/#post-16857419)
 * Hi [@calyweb](https://wordpress.org/support/users/calyweb/)
 * Thank you for using our plugin.
 * We apologize for the inconvenience.
 * The sale badge type or sale badges doesn’t work with coupons and they are for
   the pricing rules of the plugin.
 * To create cart discount rules (auto apply coupons) with the plugin, you can read
   [this article](https://www.asanaplugins.com/how-to-create-cart-discount-in-woocommerce-easily/).
 * Just please note that the plugin does not show a sale or discount badge for the
   cart discount rules or WooCommerce coupons.
 * You can check the below articles for more information.
    - [15 ways to add discounts in WooCommerce](https://www.asanaplugins.com/add-discount-in-woocommerce/).
    - [Percentage discounts in WooCommerce](https://www.asanaplugins.com/how-to-create-woocommerce-percentage-discounts/)
    - [And more articles on our blog](https://www.asanaplugins.com/blog/)
    - [You can find the documentation here](https://www.asanaplugins.com/knowledgebase/wccs-overview/)
 * In case it doesn’t help, please send us the below information to let us check
   it out.
    - a full-page screenshot of your created rule
    - A screenshot of the issue.
 * I hope it helps.
 * Best Regards

Viewing 1 replies (of 1 total)

The topic ‘Bug with coupon code’ is closed to new replies.

 * ![](https://ps.w.org/easy-woocommerce-discounts/assets/icon-256x256.jpg?rev=2788194)
 * [Discount Rules and Dynamic Pricing for WooCommerce](https://wordpress.org/plugins/easy-woocommerce-discounts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-woocommerce-discounts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-woocommerce-discounts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-woocommerce-discounts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-woocommerce-discounts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-woocommerce-discounts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AsanaPlugins](https://wordpress.org/support/users/asanaplugins/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/bug-with-coupon-code/#post-16857419)
 * Status: resolved