Title: Weird coupon problem
Last modified: March 21, 2017

---

# Weird coupon problem

 *  [lilap](https://wordpress.org/support/users/lilap/)
 * (@lilap)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/weird-coupon-problem/)
 * Here is a weird one and have tried to search for it.
 * I have a coupon code, let’s say THEBEST123. This is applied to the product to
   discount it on a value basis and not percentage.
 * 1) When I am NOT logged in, I can place all items into my cart and proceed to
   the basket. If I do not have a coupon, I can go through fine without problems.
 * 1a) If I have a coupon, I enter this coupon code into the coupon section, page
   refreshes, however, there are no errors, and there is no discount applied.
 * 1b) If I continue after applying the coupon but it did not apply the discount,
   when I create an account and proceed. It shows the discount that has been applied.
 * —————
 * 2) If I am previously logged in, add items to the cart, I can enter the coupon
   and it applied immediately.
 * Looks like that the coupon would only apply if someone is logged in, and/or once
   in the payment screen.
 * I initially thought this was a cache problem, so I cleared cache, disabled it
   for testing. Still the same problem.
 * Thought it was a PHP timeout as well, so I increased the time limit.
 * Disabled all plugins, still the same.
    Changed to Default WP Theme, still the
   same.
 * My guess, it is something to do with Woocommerce.

The topic ‘Weird coupon problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [cart](https://wordpress.org/support/topic-tag/cart/)

 * 0 replies
 * 1 participant
 * Last reply from: [lilap](https://wordpress.org/support/users/lilap/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/weird-coupon-problem/)
 * Status: not resolved