{"id":349269,"date":"2026-08-09T04:22:47","date_gmt":"2026-08-09T04:22:47","guid":{"rendered":"https:\/\/tw.wordpress.org\/plugins\/moksa-coupons-for-woocommerce\/"},"modified":"2026-08-09T06:36:54","modified_gmt":"2026-08-09T06:36:54","slug":"moksa-coupons-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/tr.wordpress.org\/plugins\/moksa-coupons-for-woocommerce\/","author":23249544,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"7.0.3","requires":"7.0","requires_php":"8.2","requires_plugins":null,"header_name":"Moksa Coupons for WooCommerce","header_author":"MoksaWeb","header_description":"A free, modular WooCommerce coupon toolkit: BOGO, cart conditions, role limits, scheduling, URL coupons and one-click templates, every feature off by default. Coupon actions are also WordPress Abilities, usable from an optional in-dashboard AI assistant, the REST API and MCP.","assets_banners_color":"131a31","last_updated":"2026-08-09 06:36:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/Moksa1123\/moksa-coupons-for-woocommerce","header_author_uri":"https:\/\/moksaweb.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":48,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"moksa0923","date":"2026-08-09 04:22:39"},"1.0.1":{"tag":"1.0.1","author":"moksa0923","date":"2026-08-09 05:35:03"},"1.0.2":{"tag":"1.0.2","author":"moksa0923","date":"2026-08-09 06:36:54"}},"upgrade_notice":{"1.0.0":"<p>First public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3639092,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3639092,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3639079,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3639079,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"moksafocou\/coupon-cards":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"moksafocou\/coupon-cards","version":"1.0.0","title":"Moksa coupon cards","category":"widgets","icon":"tickets-alt","description":"Show the currently available coupon cards (same as the [moksafocou_coupons] shortcode).","keywords":["coupon","coupons","moksafocou"],"textdomain":"moksa-coupons-for-woocommerce","attributes":{"limit":{"type":"number","default":20}},"supports":{"html":false,"align":["wide","full"]},"editorScript":"moksafocou-coupon-cards-editor"}},"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3639079,"resolution":"1","location":"assets","locale":"","width":1440,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3639079,"resolution":"2","location":"assets","locale":"","width":1440,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3639079,"resolution":"3","location":"assets","locale":"","width":1440,"height":900},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3639079,"resolution":"4","location":"assets","locale":"","width":1440,"height":900},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3639079,"resolution":"5","location":"assets","locale":"","width":1440,"height":900},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3639079,"resolution":"6","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"One-click coupon templates, grouped by goal with a category sidebar and a recently-used row.","2":"Quick-configure a template \u2014 code, discount, usage limits, expiry, description \u2014 before creating the coupon.","3":"Modular settings: switch on only the coupon features you need. Everything is off by default.","4":"Every advanced coupon setting in one tabbed panel on the coupon editor (schedule, role, cart and customer conditions, BOGO, gift, shipping, stacking, URL, front-end).","5":"Coupon management hub with at-a-glance counts, quick links and per-coupon reports.","6":"Front-end coupon wall rendered by the [moksafocou_coupons] shortcode."}},"plugin_section":[],"plugin_tags":[2353,13477,274881,591,286],"plugin_category":[45],"plugin_contributors":[274073],"plugin_business_model":[],"class_list":["post-349269","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-bogo","plugin_tags-cart-conditions","plugin_tags-coupons","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-moksa0923","plugin_committers-moksa0923"],"banners":{"banner":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/banner-772x250.png?rev=3639079","banner_2x":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/banner-1544x500.png?rev=3639079","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/icon-128x128.png?rev=3639092","icon_2x":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/icon-256x256.png?rev=3639092","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/screenshot-1.png?rev=3639079","caption":"One-click coupon templates, grouped by goal with a category sidebar and a recently-used row."},{"src":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/screenshot-2.png?rev=3639079","caption":"Quick-configure a template \u2014 code, discount, usage limits, expiry, description \u2014 before creating the coupon."},{"src":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/screenshot-3.png?rev=3639079","caption":"Modular settings: switch on only the coupon features you need. Everything is off by default."},{"src":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/screenshot-4.png?rev=3639079","caption":"Every advanced coupon setting in one tabbed panel on the coupon editor (schedule, role, cart and customer conditions, BOGO, gift, shipping, stacking, URL, front-end)."},{"src":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/screenshot-5.png?rev=3639079","caption":"Coupon management hub with at-a-glance counts, quick links and per-coupon reports."},{"src":"https:\/\/ps.w.org\/moksa-coupons-for-woocommerce\/assets\/screenshot-6.png?rev=3639079","caption":"Front-end coupon wall rendered by the [moksafocou_coupons] shortcode."}],"raw_content":"<!--section=description-->\n<p>Moksa Coupons for WooCommerce is a free, modular coupon toolkit that brings the premium coupon features merchants usually pay for \u2014 BOGO, cart conditions, scheduling, URL coupons and more \u2014 to every WooCommerce store, and makes every coupon action available to the WordPress Abilities API, the in-dashboard AI assistant and external AI tools over MCP.<\/p>\n\n<p>Every feature is a separate module that is <strong>off by default<\/strong>; turn on only what you need under the plugin's own \"Moksa coupon \u2192 Settings\" screen.<\/p>\n\n<h4>Coupon features<\/h4>\n\n<ul>\n<li><strong>BOGO (Buy X Get Y)<\/strong> \u2014 buy N of a product\/category, get M free or discounted.<\/li>\n<li><strong>Nth-item discount<\/strong> \u2014 every N of a chosen set (or the whole store) discounts the Nth item \u2014 free, percent or a fixed amount (e.g. half price on the 2nd item), once or repeating.<\/li>\n<li><strong>Mix &amp; Match<\/strong> \u2014 pick any N from a set for one fixed bundle total (any 3 for $299) or a percent off the whole set.<\/li>\n<li><strong>Cart conditions<\/strong> \u2014 minimum subtotal \/ quantity, customer-history rules (first-order-only, min\/max orders or spend), required\/excluded products and categories.<\/li>\n<li><strong>Role restrictions<\/strong> \u2014 limit a coupon to chosen user roles.<\/li>\n<li><strong>Scheduling<\/strong> \u2014 start\/end date-time and day-of-week \/ time-of-day windows, enforced at checkout.<\/li>\n<li><strong>Free gift<\/strong> \u2014 auto-add a gift product to the cart when the coupon applies.<\/li>\n<li><strong>Shipping override<\/strong> \u2014 make a coupon set free shipping or a percentage\/fixed shipping discount.<\/li>\n<li><strong>Stacking control<\/strong> \u2014 allow or block combining a coupon with other coupons.<\/li>\n<li><strong>Discount cap<\/strong> \u2014 cap the maximum amount a percentage coupon can discount.<\/li>\n<li><strong>Auto-apply<\/strong> \u2014 apply qualifying coupons automatically, no code needed.<\/li>\n<li><strong>URL coupons<\/strong> \u2014 a pretty <code>\/coupon\/&lt;code&gt;<\/code> link (with server-side QR) and an optional <code>?coupon=<\/code> apply, that auto-applies on click.<\/li>\n<li><strong>Coupon templates<\/strong> \u2014 50+ ready-made presets (new customer, spend-and-save, free shipping, BOGO, Nth-item, seasonal sales\u2026) you can apply, tweak and create in one click.<\/li>\n<li><strong>Reports<\/strong> \u2014 per-coupon usage and total discount, cached hourly.<\/li>\n<li><strong>Front-end coupon wall<\/strong> \u2014 a <code>[moksafocou_coupons]<\/code> shortcode that lists your advertised coupons as copy-to-clipboard cards.<\/li>\n<\/ul>\n\n<h4>AI, Abilities and MCP (optional)<\/h4>\n\n<p>Every coupon action is registered as a WordPress Ability, so the same capability is reachable from:<\/p>\n\n<ul>\n<li>the <strong>in-dashboard AI assistant<\/strong> \u2014 create or look up coupons by typing in plain language (uses the WordPress AI Client, which you configure with your own provider);<\/li>\n<li>the <strong>WordPress Abilities API<\/strong> and REST API;<\/li>\n<li>an optional <strong>MCP server<\/strong> that exposes coupon abilities to external AI tools.<\/li>\n<\/ul>\n\n<p>These features are off by default and respect WordPress capabilities \u2014 every ability and REST route checks the current user's <code>manage_woocommerce<\/code> (or a coupon-specific) capability. Destructive abilities exposed over external MCP stay disabled unless you separately opt in, and even then run as a confirm-then-apply (propose\/apply) flow.<\/p>\n\n<h4>Off by default, enable what you need<\/h4>\n\n<p>Every feature is a separate module and ships turned off. The AI assistant, Abilities and MCP integrations build on the WordPress Abilities API and AI Client included in WordPress 7.0 (this plugin's minimum), but stay inactive until you switch them on; the core coupon features need no AI configuration at all.<\/p>\n\n<h4>Source<\/h4>\n\n<p>Source code and issue tracker: <a href=\"https:\/\/github.com\/Moksa1123\/moksa-coupons-for-woocommerce\">github.com\/Moksa1123\/moksa-coupons-for-woocommerce<\/a>.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin can connect to a third-party AI provider, but only when you, the site administrator, explicitly enable an optional feature, and only through infrastructure you configure yourself. The plugin bundles no AI SDK and ships with every AI\/MCP feature turned OFF by default. The plugin makes no outbound HTTP requests of its own.<\/p>\n\n<p><strong>AI coupon assistant (optional, off by default).<\/strong> When you enable this feature, the natural-language text you type in the admin to create or query coupons \u2014 plus the coupon parameters needed to fulfil that request \u2014 is sent to the AI model provider you have configured in WordPress's AI Client (WordPress 7.0+). The plugin does not choose a provider, does not include or transmit any API keys of its own, and makes no AI request unless you enable the feature and configure a provider. Which provider receives the text, and the terms and privacy policy that apply, depend entirely on the AI Client connector you set up. Please review your chosen provider's terms of service and privacy policy.<\/p>\n\n<p><strong>External MCP server (optional, off by default).<\/strong> When you enable this feature, the plugin exposes coupon abilities to external AI tools over the Model Context Protocol. This is an inbound, authenticated endpoint: a request must come from a logged-in user with the <code>manage_woocommerce<\/code> capability. The plugin does not send your data to any external service through this feature; it only answers authorised incoming requests. Destructive abilities (create \/ update \/ delete coupons) remain disabled over external MCP unless you separately opt in.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/moksafocou<\/code>, or install it from the Plugins screen.<\/li>\n<li>Activate it. WooCommerce must be active.<\/li>\n<li>Open <strong>Moksa coupon \u2192 Settings<\/strong> (or, until you enable the independent menu, <strong>WooCommerce \u2192 Coupon settings<\/strong>) and switch on the modules you want. Everything is off by default.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20without%20the%20ai%20features%3F\"><h3>Does it work without the AI features?<\/h3><\/dt>\n<dd><p>Yes. All coupon features (BOGO, conditions, scheduling, URL coupons, templates, etc.) work on a standard WooCommerce store with no AI configuration. The AI assistant, Abilities and MCP are optional and off by default.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20send%20my%20data%20anywhere%3F\"><h3>Does the plugin send my data anywhere?<\/h3><\/dt>\n<dd><p>No, not on its own. The plugin makes no outbound requests. The only way data leaves your site is if you enable the optional AI assistant \u2014 then the natural-language text you type is sent to the AI provider you configured in WordPress's AI Client. See \"External services\" below.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20hpos%20and%20block%20checkout%3F\"><h3>Is it compatible with HPOS and block checkout?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage and the cart\/checkout blocks.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix: the coupon-cards block title\/description and the AI assistant's Clear \/ Close \/ Send \/ Confirm \/ Cancel controls now render in English (they could show Traditional Chinese regardless of site language). The block's text domain was also corrected so its strings localise properly.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Bundle the Traditional Chinese (zh_TW) translation so the plugin is localized on install; community translations continue on translate.wordpress.org.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>First public release. A free, modular, AI-first WooCommerce coupon toolkit \u2014 every feature is a separate module, off by default, enabled under \"Moksa coupon \u2192 Settings\".<\/p>\n\n<p>Coupon types &amp; discounts:\n* BOGO (Buy X Get Y), Nth-item discount and Mix &amp; Match set-price mechanics \u2014 at most one special-price coupon per cart, and their savings show transparently on the created order.\n* Tiered discounts (ladder by subtotal \/ quantity \/ weight, percent or fixed, best-for-cart wins), a percentage discount cap, free gift, shipping override (free \/ percent \/ fixed), stacking control and auto-apply.<\/p>\n\n<p>Conditions &amp; rules:\n* Cart conditions (minimum subtotal \/ quantity, customer-history, required \/ excluded products and categories), scheduling (date-time + day\/time windows), role restrictions, shipping-region and payment-method conditions \u2014 all enforced at checkout, classic and block.\n* A visual AND\/OR advanced rule builder with 25 condition types.<\/p>\n\n<p>Distribution &amp; front-end:\n* URL coupons with a pretty \/coupon\/<code> link and server-side QR plus an optional ?coupon= apply, 50+ one-click coupon templates, a [moksafocou_coupons] front-end coupon wall (shortcode + Gutenberg block) with eligibility hints and a live expiry countdown, a cart \"you saved $X\" savings summary and a free-shipping threshold nudge.<\/code><\/p>\n\n<p>Management:\n* An independent \"Moksa coupon\" admin menu with a dashboard, per-coupon \/ revenue \/ per-campaign reports, a consolidated tabbed coupon-settings metabox with type icons, a live editor summary, coupon-list status \/ bulk \/ duplicate tools, CSV import \/ export, a \"My coupons\" My Account page, post-purchase remarketing coupons and expiry-reminder emails.<\/p>\n\n<p>AI, Abilities &amp; MCP (optional, off by default):\n* Every coupon action is a capability-checked WordPress Ability, reachable from an in-dashboard AI assistant (WordPress 7.0 AI Client), the REST API and an optional self-built MCP server. Destructive abilities stay disabled over external MCP unless separately opted in, and run as a propose \/ apply confirmation flow.<\/p>\n\n<p>Platform integration:\n* Companion-plugin hooks so a separate points \/ membership \/ group-buy plugin can own value, identity and attribution: a moksafocou_coupon_redeemed event on paid orders and a moksafocou_coupon_allowed_for_user filter (e.g. for VIP-gated coupons).<\/p>\n\n<p>Quality:\n* A single source of truth for coupon-type labels (no raw slugs in reports \/ emails), cached reports and a bounded customer-history lookup, first-run safe-default module seeding, a soft cross-module dependency advisory, a prefix-based uninstall cleanup, and a WordPress.org-clean build.<\/p>","raw_excerpt":"AI-first WooCommerce coupon toolkit: BOGO, cart conditions, role limits, scheduling, URL coupons, auto-apply and one-click templates.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/349269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=349269"}],"author":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/moksa0923"}],"wp:attachment":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=349269"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=349269"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=349269"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=349269"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=349269"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=349269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}