Title: About coupon code function
Last modified: December 10, 2018

---

# About coupon code function

 *  Resolved [masurana](https://wordpress.org/support/users/masurana/)
 * (@masurana)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/about-coupon-code-function/)
 * Sir,
    There is two issues about coupon code function. 1) Successful or unsuccessful
   messages is not showing after adding coupon code. 2) Add coupon code – is not
   showing on checkout page. Please guide me. Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fabout-coupon-code-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Soft79](https://wordpress.org/support/users/josk79/)
 * (@josk79)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/about-coupon-code-function/#post-10969126)
 * For some reason it is hidden. This is from your checkout page source:
 * `<form class="checkout_coupon woocommerce-form-coupon" method="post" style="display:
   none">`
 * PS: Your StoreFront theme is out-of-date. Try updating to the newest version.
 *  Thread Starter [masurana](https://wordpress.org/support/users/masurana/)
 * (@masurana)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/about-coupon-code-function/#post-10985555)
 * Sir,
    Now storefront theme updated but there does not showing coupon code successful
   or unsuccessful message. And what can I do to show the coupon code box on the
   checkout page? Please guide me. Thanks.
 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [7 years, 5 months ago](https://wordpress.org/support/topic/about-coupon-code-function/#post-11008871)
 * [@masurana](https://wordpress.org/support/users/masurana/) The below appears 
   to be in the Additional CSS section of your customizer, which is causing all 
   notices to be hidden, and it also hides the coupon field in the checkout page:
 *     ```
       .woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments {
           display: none;
       }
       ```
   
 * Once this is removed, you will be able to see notices again.
 *  Thread Starter [masurana](https://wordpress.org/support/users/masurana/)
 * (@masurana)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/about-coupon-code-function/#post-11013441)
 * Thanks. It’s solved.
    -  This reply was modified 7 years, 5 months ago by [masurana](https://wordpress.org/support/users/masurana/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘About coupon code function’ 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

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [message](https://wordpress.org/support/topic-tag/message/)

 * 4 replies
 * 3 participants
 * Last reply from: [masurana](https://wordpress.org/support/users/masurana/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/about-coupon-code-function/#post-11013441)
 * Status: resolved