-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blog: “Turn off coupons in WooCommerce”
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
content/blog/2024-05-17-turn-off-coupons-woocommerce/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
+++ | ||
title = 'Turn off coupons in WooCommerce' | ||
slug = 'turn-off-coupons-woocommerce' | ||
summary = 'This is a short tutorial on how to disable the “add a coupon” field on the cart and checkout pages in WooCommerce.' | ||
date = 2024-05-17T16:35:25-05:00 | ||
draft = false | ||
+++ | ||
|
||
{{< rawhtml >}} | ||
<div class="rounded-lg px-8 py-8 bg-[#9D6095E3] text-gray-50 text-lg"> | ||
<h2 class="text-gray-50" style="margin-top: 0; margin-bottom: 0.6rem;">Summary</h2> | ||
<p style="margin-bottom: 0;">This is a short tutorial on how to disable the “add a coupon” field on the cart and checkout pages in WooCommerce.</p> | ||
</div> | ||
{{< /rawhtml >}} | ||
|
||
*** | ||
|
||
If you want to hide the coupon fields from the cart and checkout pages in WooCommerce, it’s possible by turning off a setting. There is no need for custom code or plugins. | ||
|
||
Follow these steps to turn off the coupon fields. | ||
|
||
1. From the WordPress dashboard, navigate to **WooCommerce → Settings** in the left sidebar. | ||
![Screenshot of the WooCommerce general settings page, with arrows on how to navigate to it from the left menu in the WordPress dashboard.](/blog/turn-off-coupons-woocommerce/turn-off-coupons-1.png) | ||
2. You’ll land on the General tab. | ||
3. Scroll down until you see “**Enable coupon fields**”. | ||
4. **Uncheck** the box labeled “**Enable the use of coupon codes**”. | ||
5. Click “**Save changes**” at the bottom. | ||
![Screenshot of the field to remove the check from after scrolling down a little on the general settings page in WooCommerce, which will turn off coupons. An arrow is pointing to both the checkbox and the “Save Changes” button.](/blog/turn-off-coupons-woocommerce/turn-off-coupons-2.png) | ||
|
||
Customers will no longer see the coupon fields on the cart and checkout pages. | ||
|
||
## Turn off coupon field only on cart page, or only on checkout | ||
|
||
If you’re interested in how to turn off the coupon field for just the cart page, or just the checkout page, the above method won’t work since it turns it off completely. [Send me an email](mailto:john@getdashify.com) and let me know, and I’ll create a tutorial for this. |
Binary file added
BIN
+334 KB
content/blog/2024-05-17-turn-off-coupons-woocommerce/turn-off-coupons-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+369 KB
content/blog/2024-05-17-turn-off-coupons-woocommerce/turn-off-coupons-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.