This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Coupon Shortcodes for WooCommerce

Coupon Shortcodes for WooCommerce

Show coupon discount info using shortcodes. Allows to render coupon information and content conditionally, based on the validity of coupons.

1K+ active installs
4.9
(17 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Coupon Shortcodes for WooCommerce running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
28 days ago
At least 4.8 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
6.5
Contributors
2

1K+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Coupon Shortcodes for WooCommerce is looked after — not on how many stores run it.

92

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 28 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
13 / 15
4.9/5 across 17 rating(s).
Listing transparency
6 / 10
Provides: description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-02 from the WordPress.org plugin registry.
Ratings

4.9

17 ratings
5★15
4★2
3★0
2★0
1★0
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

Show coupon discount info using shortcodes. Allows to render coupon information and content conditionally, based on the validity of coupons.

Customers can be motivated to proceed with their purchase, offering them to use specific coupons when the contents in the cart qualify for it, or by offering them to purchase additional items so they can use a coupon.

This extension for WooCommerce is a useful addition that is easy to use.

Works great with these premium extensions: Volume Discount Coupons, Group Coupons and Coupons Countdown.

Conditional Shortcodes

It provides the following conditional shortcodes that allow to enclose content which is shown if certain coupons are applied, valid or active:

[coupon_is_active]
[coupon_is_not_active]
[coupon_is_applied]
[coupon_is_not_applied]
[coupon_is_valid]
[coupon_is_not_valid]

These conditional shortcodes allow to render content if any coupons are applied, valid or active:

[coupon_has_valid]
[coupon_has_not_valid]
[coupon_has_active]
[coupon_has_not_active]
[coupon_has_applied]
[coupon_has_not_applied]

Coupon Info Shortcodes

It also provides shortcodes that allow to render the coupon code, its description and an automatic description of the discount:

[coupon_code] (this one makes sense mostly when used inside one of the conditional shortcodes).
[coupon_description]
[coupon_discount]
[coupon_show]

A coupon iterator shortcode makes it easy to work with a set of coupons, the enclosed content is rendered for each coupon in sequence. The informational shortcodes can be used inside the content of this shortcode to display details about each coupon code.

[coupon_iterate]

For example: [coupon_iterate code="test,welcome,20off"][coupon_code] – [coupon_discount][/coupon_iterate]

A coupon enumerator shortcode allows to list all or a set of coupons, to show their code, description or discount information, or combinations of those using the [coupon_show] shortcode:

[coupon_enumerate]

Documentation

Please refer to the plugin’s documentation pages for detailed descriptions.

Examples

Show a text when a coupon can be used (active) – this is useful to show promotional info while coupons can be used, as active means that the coupon has not reached its expiration date nor exceeded its usage limits:

[coupon_is_active code="eastereggs"]
Happy Easter!
Use the coupon code [coupon_code] to hop away with a great discount : [coupon_discount]
[/coupon_is_active]

This is an example of a text shown when a promotion is over:

[coupon_is_not_active code="specialdiscount"]
Our special discount sale has ended. Come back often to see more!
[/coupon_is_not_active]

Showing a coupon when the cart contents qualify for a coupon to be applied:

[coupon_is_valid code="superdiscount"]
You qualify for a discount!
Use the coupon code [coupon_code] to take advantage of this great discount : [coupon_discount]
[/coupon_is_valid]

Showing a coupon that is not valid for the current cart and motivating to add items:

[coupon_is_not_valid code="25off"]
If you purchase 5 Widgets, you can use the coupon [coupon_code] to get 25% off your purchase!
[/coupon_is_not_valid]

Iterate over several coupons and show their discount info:

[coupon_iterate code="test,welcome,20off"]
Use the Coupon Code: [coupon_code] for [coupon_discount]
[/coupon_iterate]

Iterate over all coupons and show their discount info:

[coupon_iterate code="*"]
Use the Coupon Code: [coupon_code] for [coupon_discount]
[/coupon_iterate]

Show information about three random coupons, including the coupon code, its description and discount info together on each entry:

[coupon_enumerate code="*" orderby="rand" number="3"]
[coupon_show show="code,description,discount"]
[/coupon_enumerate]

Show a single random coupon code:

[coupon_enumerate code="*" orderby="rand" number="1"]
[coupon_code]
[/coupon_enumerate]

Documentation and Support

Full usage instructions and help is provided on these pages:

  • The Documentation pages provide detailed information.
  • Questions, feedback and suggestions can be posted on the Coupon Shortcodes page.
  • You can contact WooCommerce Support with your questions related to this extension.

Connect

Join r/itthinx, follow us on Mastodon or on X for related news and information. Visit itthinx.com where you can find more free and premium extensions.

Where is the documentation?

Documentation

I have a question, where do I ask?

You can leave a comment at the Coupon Shortcodes for WooCommerce plugin page.
You can also Contact WooCommerce Support with your questions related to this extension.

How can I install this extension?

  • For self-hosted sites install WordPress.org directly from your dashboard.
  • For WooCommerce customers use WooCommerce.com.
  • For sites hosted on WordPress.com with a plan that supports adding plugins.

Categories
Discounts & couponsPage builders & blocks
Plugin details
Version4.3.0
Last updated2026-07-05 9:57pm GMT
Added2013-09-14
Requires WordPress6.5
Tested up to7.0.2
Requires PHP7.4

Tags on WordPress.org
coupon
discount
marketing
shortcode
woocommerce
Alternatives
Other plugins in the same categories.
Loyalty Points Rewards and Referral for WooCommerce – WPLoyalty
3K+ installs
5.0(283)
YayPricing – WooCommerce Dynamic Pricing & Discounts
3K+ installs
5.0(71)
Discount Rules for WooCommerce
100K+ installs
4.9(1,342)
Advanced coupon for WooCommerce
900+ installs
5.0(18)
Auto Coupons for WooCommerce
4K+ installs
4.9(16)
Discount Rules and Dynamic Pricing for WooCommerce
10K+ installs
4.7(247)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy