Offering coupons to the customers on the WooCommerce store is a great way to offer rewards or discounts.
But, sometimes customers get used to the coupon codes in such a way that they continuously look whether any coupons are been offered on the store. Which may result in customers waiting until the offers are offered at the stored or search for the competitor’s plugin or find any coupon code offered from the affiliates. Which in turn would affect the sales on the store.
We shall take a look at three different ways to hide the coupon code which are as follows:
1) Disable coupon code completely on your WooCommerce store.
2) Hide on the cart page and display on the checkout page.
3) Hide on the checkout page and display on the cart page.
1) Disable coupon code completely on your WooCommerce store
The store owner can disable the discount coupon code field completely on the cart and the checkout page, if they do not want to offer any rewards or offers on the store by disabling the ‘Enable the use of coupon codes’ checkbox in the WooCommerce->Settings->General tab.
Here is the screenshot of the setting:
2) Hide the coupon code field on the WooCommerce Cart page
If the store owner wants to hide the coupon code field only on the cart page and display it on the checkout page then the below code snippet can be used to achieve this requirement.
The below code snippet is to be placed in the functions.php file of the currently active child theme (if exists) or in the parent theme.
Increase WooCommerce Store Sales
"I only wish I installed this sooner, it’s been a great help being able to reach out to customers and offer assistance, I’ve found that they really love the response and attempt at making sure that everything was alright during checkout and that I was proactive about helping them. I found out something on my website was confusing some customers, and was able to take actionable measures to make things clearer. The support behind the plugin is also great, I get replies in less than a day and a recent request I had was agreed to be valuable enough to add to the plugin." - Christopher Michael
3) Hide the coupon code field on the WooCommerce Checkout page
Sometimes store owners want to hide the coupon code field only on the checkout page and display it on the cart page. This requirement can be achieved by placing the below code snippet in the functions.php file of the currently active child theme (if exists) or in the parent theme.
Following one of the above three methods, the store owner can hide/disable the coupon code field on the cart page and/or on the checkout page.