October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Create Coupon Codes in WordPress (WooCommerce and Dokan)

Learn how to enable and create WooCommerce coupon codes, then set up coupons as a Dokan vendor or marketplace administrator.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To create a coupon in a WordPress store, enable coupons in WooCommerce, then add and configure one under Marketing > Coupons. In a Dokan marketplace, vendors can create coupons for their own stores, while marketplace administrators can create coupons for selected vendors or products. The right setup depends on who controls the offer—and who pays for the discount.

How WooCommerce coupons work

WooCommerce provides the basic coupon controls for a store: a code, a discount type, usage restrictions and usage limits. Customers enter the code in the cart or at checkout; standard WooCommerce coupons do not automatically apply themselves. For the core workflow, see the WooCommerce coupon management guide.

As an Amazon Associate I earn from qualifying purchases.

Create a coupon in WooCommerce

  1. Enable coupons: In the WordPress dashboard, go to WooCommerce > Settings > General, enable coupon use, and save your changes. Coupons will not work if this setting is off.
  2. Open the coupon editor: Go to Marketing > Coupons and select Add new coupon.
  3. Set the code: Enter a code customers can use, or use the generate-code control. WooCommerce coupon codes are not case-sensitive.
  4. Choose the discount: Select one of WooCommerce’s core types: percentage discount, fixed-cart discount or fixed-product discount. Set the amount and use the restriction and limit settings to define which purchases qualify and how often the coupon can be used.
  5. Publish or schedule it: Publish the coupon when it is ready. If it should become available later, WooCommerce documents scheduling it through the Publish settings.
  6. Tell customers where to use it: Share the code and direct shoppers to enter it in the cart or at checkout.

Create a coupon as a Dokan vendor

A vendor coupon is intended for that vendor’s own store. Before using this route, make sure coupons are enabled in WooCommerce > Settings > General and save the setting. Dokan’s vendor coupon guide describes the vendor-side process:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open Coupons in the vendor dashboard.
  2. Select Add New Coupon.
  3. Complete the coupon details and add the coupon.

This is separate from the marketplace administrator’s coupon workflow. An admin-created coupon can target marketplace vendors or products, with additional controls over how the promotion is handled.

#1 Best Overall
$10 XBOX Gift Card [Digital Code]
  • THE PERFECT GAMING GIFT — Buy an XBOX Gift Card for yourself or a friend and let them choose the games, add‑ons, subscriptions, and accessories they want most.
  • USE FOR GAMES & CONTENT — Redeem for thousands of digital XBOX games, from backward compatible classics to the latest new releases, plus DLC and in‑game currency.
  • GAME PASS READY — Apply your balance toward XBOX Game Pass Ultimate to play new titles on day one* and access a library of hundreds of high‑quality console games.
  • PRE‑ORDER & PRE‑INSTALL GAMES — Use your balance to pre‑order and pre‑download upcoming titles so you’re ready to play the moment they launch.
  • NO FEES OR EXPIRATION — XBOX Gift Cards never expire and have no service fees, so your balance is ready whenever you are.

Create a coupon as a Dokan marketplace administrator

Dokan’s admin guide to creating coupons for vendors starts at WP-Admin > Marketing > Coupons. Alongside the usual WooCommerce coupon settings, the guide describes Vendor Limits controls for applying a coupon to all vendors, selecting particular vendors or products, or excluding them. It also describes options for where the coupon cost is deducted, whether vendors are notified, and whether the offer appears on store pages.

Decide who funds the discount

Check the deduction setting before publishing: it can affect marketplace commission and vendor earnings. Dokan’s admin guide gives an example in which a deduction larger than the available commission leaves a shortfall that flows to vendor earnings. Dokan’s vendor coupon documentation states, “Beginning with Dokan 4.0 the coupon engine has been rebuilt so that marketplace-wide or product-level discounts created by the Admin never eat into a vendor’s expected earnings.” Read that version-qualified statement together with the admin guide’s deduction examples and the rules configured on your marketplace; do not assume every coupon setup has the same financial effect.

Rank #2
Amazon eGift Card - Amazon Logo
  • Amazon.com Gift Cards never expire and carry no fees.
  • Multiple gift card designs and denominations to choose from.
  • Redeemable towards millions of items store-wide at Amazon.com or certain affiliated websites.
  • Available for immediate delivery. Gift cards sent by email can be scheduled up to a year in advance.
  • No returns and no refunds on Gift Cards.

Check multi-vendor cart behavior

Dokan’s admin guide says fixed-cart discounts are not applicable for multiple vendors. If shoppers can buy from more than one vendor in a cart, check how the coupon behaves for your marketplace before advertising that offer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the right coupon workflow

Coupon workflow Who creates it Typical scope Who may fund it
WooCommerce store coupon Store administrator Cart or products covered by the coupon’s configured restrictions Store, according to its own accounting and promotion rules
Dokan vendor coupon Vendor in the vendor dashboard The vendor’s own store Vendor, subject to marketplace rules
Dokan admin coupon Marketplace administrator in WP-Admin All vendors, selected vendors or products, subject to configured limits and exclusions Depends on the configured deduction approach; it can affect commission or vendor earnings

The scope and cost allocation depend on the coupon settings and marketplace configuration; the table describes the roles and options documented by WooCommerce and Dokan, not a universal accounting rule. WooCommerce core is enough for standard percentage and fixed discounts. Dokan adds vendor and marketplace-admin workflows when a marketplace needs vendor-level targeting.

Rank #3
Visa Physical Gift Card $200 (plus $6.95 Purchase Fee)
  • Gift Cards are shipped active and ready for use.
  • This card is non-reloadable. No cash or ATM access. Funds do not expire. If available funds remain on your card after the valid thru date has passed, please call customer service for a replacement card. A one-time purchase fee applies at the time of checkout. No fees after purchase.
  • To access your card information safely, type the complete website address shown on your Gift Card (MyGift.GiftCardMall.com) directly into your browser's address bar. Don't use search engines or shortened versions of the website address, as these may lead you to fake or fraudulent sites. Do not provide any Gift Card details (example: Card Number) to someone you do not know or trust. If you believe you've reached an illegitimate website, contact cardholder service at 1-888-524-1283. Be cautious of phishing sites, there are a variety of scams in which fraudsters try to trick others into paying with gift cards.
  • To report your Lost or Stolen Physical Visa Card, call Customer Service 24/7 at 1 (888) 524-1283 to cancel your Gift Card as soon as you can. You will be asked to provide the Gift Card number and other identifying information.
  • Use your Visa Gift Card in the U.S. everywhere Visa debit cards are accepted, including online.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When an extension may help

Basic coupons do not require an extension. If you need bulk code generation, automatic application or shareable coupon links, WooCommerce’s Smart Coupons documentation describes those capabilities. Its bulk-generation guide says generated codes can be added to the store, exported to CSV or emailed to recipients. These are extension features, not part of the basic WooCommerce coupon flow; check the extension listing for current availability and terms.

Quick Recap

Bestseller No. 1
$10 XBOX Gift Card [Digital Code]
$10 XBOX Gift Card [Digital Code]
Gift cards are region‑specific (U.S. only) and cannot be transferred once redeemed.
$10.00
Bestseller No. 2
Amazon eGift Card - Amazon Logo
Amazon eGift Card - Amazon Logo
Amazon.com Gift Cards never expire and carry no fees.; Multiple gift card designs and denominations to choose from.
$50.00
Bestseller No. 3
Visa Physical Gift Card $200 (plus $6.95 Purchase Fee)
Visa Physical Gift Card $200 (plus $6.95 Purchase Fee)
Gift Cards are shipped active and ready for use.
$206.95
Bestseller No. 4
Visa Physical Gift Card $100 (plus $5.95 Purchase Fee)
Visa Physical Gift Card $100 (plus $5.95 Purchase Fee)
Gift Cards are shipped active and ready for use.
$105.95
Bestseller No. 5
Amazon eGift Card - Happy Birthday
Amazon eGift Card - Happy Birthday
Amazon.com Gift Cards never expire and carry no fees.; Multiple gift card designs and denominations to choose from.
$50.00
Best Value
Amazon eGift Card - Happy Birthday
  • Amazon.com Gift Cards never expire and carry no fees.
  • Multiple gift card designs and denominations to choose from.
  • Redeemable towards millions of items store-wide at Amazon.com or certain affiliated websites.
  • Available for immediate delivery. Gift cards sent by email can be scheduled up to a year in advance.
  • No returns and no refunds on Gift Cards.
Rank #4
Visa Physical Gift Card $100 (plus $5.95 Purchase Fee)
  • Gift Cards are shipped active and ready for use.
  • This card is non-reloadable. No cash or ATM access. Funds do not expire. If available funds remain on your card after the valid thru date has passed, please call customer service for a replacement card. A one-time purchase fee applies at the time of checkout. No fees after purchase.
  • To access your card information safely, type the complete website address shown on your Gift Card (MyGift.GiftCardMall.com) directly into your browser's address bar. Don't use search engines or shortened versions of the website address, as these may lead you to fake or fraudulent sites. Do not provide any Gift Card details (example: Card Number) to someone you do not know or trust. If you believe you've reached an illegitimate website, contact cardholder service at 1-888-524-1283. Be cautious of phishing sites, there are a variety of scams in which fraudsters try to trick others into paying with gift cards.
  • To report your Lost or Stolen Physical Visa Card, call Customer Service 24/7 at 1 (888) 524-1283 to cancel your Gift Card as soon as you can. You will be asked to provide the Gift Card number and other identifying information.
  • Use your Visa Gift Card in the U.S. everywhere Visa debit cards are accepted, including online.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.