{"id":409648,"date":"2026-12-03T07:01:23","date_gmt":"2026-12-03T07:01:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/incentiv-advanced-promotions-for-woocommerce\/"},"modified":"2026-12-03T07:00:46","modified_gmt":"2026-12-03T07:00:46","slug":"incentiv","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/incentiv\/","author":13840107,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.2.2","stable_tag":"2.2.2","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Incentiv \u2013 Advanced Promotions for WooCommerce","header_author":"Eli Shvarzman","header_description":"Incentiv is a promotions engine for WooCommerce: quantity and mix & match discounts, automatic gifts and BOGO, margin guards and a visual flow builder. Every reason to buy more.","last_updated":"2026-12-03 07:00:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/a-in.co.il\/plugins\/incentiv\/","header_plugin_uri":"https:\/\/a-in.co.il\/plugins\/incentiv\/","header_author_uri":"https:\/\/a-in.co.il\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":52,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.2.2":{"tag":"2.2.2","author":"elis85","date":"2026-12-03 07:00:46","revision":3841728}},"upgrade_notice":{"2.2.2":"<p>Security hardening from the WordPress.org review: request data is sanitized and validated against a schema everywhere. No settings change.<\/p>","2.2.1":"<p>Security hardening from the WordPress.org review: input sanitizing, nonces and capability checks. No settings change.<\/p>","2.2.0":"<p>Internal prefix change from mmd to incv for WordPress.org. Your settings, rules and gift data are copied to the new names automatically on update. Update Incentiv Pro to a version that supports 2.2.0 at the same time.<\/p>","2.1.0":"<p>Special events, advanced analytics, audience targeting, promotion protection, smart coupons and the smart rule builder are now part of Incentiv Pro. Their data is kept. Sites on the paid build keep every module.<\/p>","2.0.0":"<p>Incentiv 2.0: new branding, analytics dashboard, gifts v2, special events, flow builder and attribution reports. Back up before upgrading.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3841728,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3841728,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3841728,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":3841728,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3841728,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":3841728,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3841728,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3841728,"resolution":"1","location":"assets","locale":"","width":1440,"height":1242},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3841728,"resolution":"2","location":"assets","locale":"","width":1440,"height":1000},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3841728,"resolution":"3","location":"assets","locale":"","width":1440,"height":720},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3841728,"resolution":"4","location":"assets","locale":"","width":1440,"height":900},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3841728,"resolution":"5","location":"assets","locale":"","width":1440,"height":931}},"screenshots":{"1":"Discount rules: statuses, tiers and a gallery of ready-made templates.","2":"Rule editor with a step indicator, discount tiers with quick-fill presets and a live preview.","3":"Gift rules with customer choice and a live preview of the gift widget.","4":"Flow builder: each promotion as a visual customer journey.","5":"What the customer sees: tier table, gift picker and the discounted cart."}},"plugin_section":[],"plugin_tags":[6744,10209,2649,241049],"plugin_category":[],"plugin_contributors":[291059],"plugin_business_model":[],"class_list":["post-409648","plugin","type-plugin","status-publish","hentry","plugin_tags-discounts","plugin_tags-gifts","plugin_tags-promotions","plugin_tags-quantity-discounts","plugin_contributors-elis85","plugin_committers-elis85"],"banners":{"banner":"https:\/\/ps.w.org\/incentiv\/assets\/banner-772x250.png?rev=3841728","banner_2x":"https:\/\/ps.w.org\/incentiv\/assets\/banner-1544x500.png?rev=3841728","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/incentiv\/assets\/icon.svg?rev=3841728","icon":"https:\/\/ps.w.org\/incentiv\/assets\/icon.svg?rev=3841728","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/incentiv\/assets\/screenshot-1.png?rev=3841728","caption":"Discount rules: statuses, tiers and a gallery of ready-made templates."},{"src":"https:\/\/ps.w.org\/incentiv\/assets\/screenshot-2.png?rev=3841728","caption":"Rule editor with a step indicator, discount tiers with quick-fill presets and a live preview."},{"src":"https:\/\/ps.w.org\/incentiv\/assets\/screenshot-3.png?rev=3841728","caption":"Gift rules with customer choice and a live preview of the gift widget."},{"src":"https:\/\/ps.w.org\/incentiv\/assets\/screenshot-4.png?rev=3841728","caption":"Flow builder: each promotion as a visual customer journey."},{"src":"https:\/\/ps.w.org\/incentiv\/assets\/screenshot-5.png?rev=3841728","caption":"What the customer sees: tier table, gift picker and the discounted cart."}],"raw_content":"<!--section=description-->\n<p>Incentiv (formerly Mix &amp; Match Quantity Discounts) is a promotions engine for WooCommerce. Build quantity and mix &amp; match discounts and automatic gifts, keep them profitable with margin guards, then see each promotion as a visual customer journey in the flow builder.<\/p>\n\n<p><strong>Main features<\/strong><\/p>\n\n<ul>\n<li><strong>Quantity discounts<\/strong>: discount tiers per product, category or mix &amp; match combination.<\/li>\n<li><strong>Automatic gifts (BOGO)<\/strong>: a gift picker for the customer, stock awareness (out-of-stock gifts are not offered) and a cart fallback (if no gift was picked on the product page, it is offered in the cart).<\/li>\n<li><strong>Rule wizard and editor<\/strong>: a step indicator, quick-fill presets, a live preview and ready-made example rules.<\/li>\n<li><strong>Coupon requirement<\/strong>: make a rule apply only with a coupon code you choose.<\/li>\n<li><strong>Visual flow builder<\/strong>: each promotion as a customer journey.<\/li>\n<li><strong>Margin guards and limits<\/strong>: maximum discount, budget caps and a margin floor.<\/li>\n<li><strong>Dashboard<\/strong>: sales from discounts, gifts redeemed, discount type breakdown, funnel and top rules.<\/li>\n<li><strong>Storefront<\/strong>: Elementor widgets and shortcodes, discounts on the cheapest or most expensive item, and custom cart messages.<\/li>\n<li><strong>Built for the Israeli market<\/strong>: RTL-first admin and storefront (mini cart included), a Hebrew translation in the package, and discounts that stay exact on VAT-inclusive prices.<\/li>\n<li>Rule diagnostics and debug mode.<\/li>\n<\/ul>\n\n<p>Everything listed above is free and complete. There are no locked features, licence keys or trial periods in this plugin.<\/p>\n\n<p><strong>Incentiv Pro<\/strong><\/p>\n\n<p>Incentiv Pro is a separate add-on, sold on <a href=\"https:\/\/a-in.co.il\/plugins\/incentiv\/\">a-in.co.il<\/a>, for stores that want more: special events with access control, per-rule attribution with CSV export and an email digest, audience targeting (new or returning customers, order count, lifetime value, country, language, UTM), promotion protection (block list), smart coupons with campaigns and auto-apply links, and the smart rule builder. Incentiv works fully without it.<\/p>\n\n<p><strong>Use cases<\/strong><\/p>\n\n<ul>\n<li>Coffee shops: buy 3 kg, get a discount on the cheapest one.<\/li>\n<li>Electronics: discounts on large quantities.<\/li>\n<li>Fashion: buy 5 items, get one free.<\/li>\n<li>Any product where you want to encourage buying in quantity.<\/li>\n<\/ul>\n\n<p>Incentiv is an independent plugin by All-IN. It is not affiliated with, endorsed by or sponsored by WooCommerce or Automattic. WooCommerce is a trademark of its respective owner.<\/p>\n\n<h3>External services<\/h3>\n\n<p>Incentiv does not contact any external service.<\/p>\n\n<h3>Third-party libraries<\/h3>\n\n<ul>\n<li>Select2 4.0.13 (MIT), <code>assets\/vendor\/select2\/<\/code>. Source: https:\/\/github.com\/select2\/select2<\/li>\n<li>jQuery UI 1.13.2 base theme CSS (MIT), <code>assets\/vendor\/jquery-ui\/<\/code>. Source: https:\/\/github.com\/jquery\/jquery-ui<\/li>\n<li>Fonts: Assistant and Sora (SIL Open Font License 1.1), Material Symbols Rounded (Apache License 2.0), <code>assets\/vendor\/fonts\/<\/code>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>, or install it from the Plugins screen.<\/li>\n<li>Activate it. WooCommerce must be active.<\/li>\n<li>Open <strong>Incentiv<\/strong> in the admin menu.<\/li>\n<li>Create your first discount rule, or import a ready-made example rule.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20plugin%20require%20woocommerce%3F\"><h3>Does the plugin require WooCommerce?<\/h3><\/dt>\n<dd><p>Yes, WooCommerce 4.0 or later.<\/p><\/dd>\n<dt id=\"can%20customers%20mix%20different%20products%3F\"><h3>Can customers mix different products?<\/h3><\/dt>\n<dd><p>Yes. That's what Mix &amp; Match is for: customers can combine different products and still get the discount.<\/p><\/dd>\n<dt id=\"is%20hebrew%20supported%3F\"><h3>Is Hebrew supported?<\/h3><\/dt>\n<dd><p>Yes. The plugin was built for the Israeli market: the admin and storefront are RTL-first and a Hebrew (he_IL) translation is included. On stores that enter prices including VAT, discounts stay exact on the VAT-inclusive prices (using the store's WooCommerce tax settings).<\/p><\/dd>\n<dt id=\"is%20the%20admin%20available%20in%20english%3F\"><h3>Is the admin available in English?<\/h3><\/dt>\n<dd><p>Yes. All admin screens, storefront messages, emails and scripts use English source text and are translatable (text domain <code>incentiv<\/code>). A Hebrew (he_IL) translation ships with the plugin, so Hebrew sites look the same as before. The admin follows the site's text direction (RTL or LTR).<\/p><\/dd>\n<dt id=\"how%20do%20i%20set%20up%20%22buy%203%2C%20get%20one%20free%22%3F\"><h3>How do I set up \"buy 3, get one free\"?<\/h3><\/dt>\n<dd><p>Create a discount rule with a quantity of 3 and a 100% discount, applied to the cheapest (or most expensive) item.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Security: every JSON payload sent to the admin (gift rules, gift design, flows) is unslashed, decoded, checked to be an array and sanitized key by key and value by value, then validated against an allowed schema (known keys only, cast types, allowed options).<\/li>\n<li>Security: flow builder steps are validated per step type; list values are re-indexed so no request-supplied keys are stored in rules.<\/li>\n<li>Security: gift attribute keys and values are sanitized where they are received (sanitize_title() for keys and term slugs, sanitize_text_field() for custom values).<\/li>\n<li>Security: discount rule, settings and product gift forms validate every option against its allowed values and re-index ID lists.<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Security: every value posted by the gift picker (gift product, variation and attributes JSON) is sanitized as soon as it is received, before it is logged or added to the cart. Attribute keys are matched against the product's own attributes.<\/li>\n<li>Security: a gift is only added when it is one of the gifts the product offers, and the product itself is in the cart.<\/li>\n<li>Security: a cart gift can only be claimed when the cart qualifies for it; its type and discount always come from the gift rule, not from the browser.<\/li>\n<li>Security: gift rule sets and gift design settings are validated field by field (types, allowed values, number ranges, text and HTML sanitizing) before they are saved.<\/li>\n<li>Security: the gift fields sent with the add-to-cart form now carry a nonce; the fragments and product-variations AJAX actions check a nonce and a capability.<\/li>\n<li>Security: debug logging never writes raw request data.<\/li>\n<li>Code: inline scripts and styles are captured with a helper that opens and closes its output buffer in the same scope.<\/li>\n<li>Code: translations are loaded by WordPress.org language packs; the plugin no longer calls load_plugin_textdomain() and the zip no longer ships .po\/.mo files.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Code: every function, class, constant, option, hook, shortcode, AJAX action and script handle now uses the <code>incv<\/code> \/ <code>INCV_<\/code> prefix (the old <code>mmd<\/code> prefix was too short for WordPress.org). A one-time migration copies existing <code>mmd_*<\/code> options and <code>_mmd_*<\/code> \/ <code>mmd_*<\/code> meta to the new names on update, and leaves the old data in place. On sites that had the old data, the <code>[mmd_gift_selection]<\/code> and <code>[mmd_rule_banner]<\/code> shortcodes and the old Elementor widgets keep working.<\/li>\n<li>Code: all inline scripts and styles are now loaded through the WordPress script and style APIs (<code>wp_enqueue_script<\/code>, <code>wp_add_inline_script<\/code>, <code>wp_add_inline_style<\/code>), and inline <code>onclick<\/code> handlers were replaced with script files.<\/li>\n<li>Code: the AJAX fragments action is now <code>incv_get_refreshed_fragments<\/code>.<\/li>\n<li>Removed an unused legacy file (the first-generation product gifts class).<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Fixed: the product-page gift picker no longer offers out-of-stock gifts (the cart picker already left them out).<\/li>\n<li>Fixed: the Elementor Gift notice widget no longer lists out-of-stock gifts.<\/li>\n<li>Fixed: the cart page showed the gift offer twice (gift picker and gift bar) and showed messages from rules that had no products in the cart. Each message now shows once, and only for rules the cart can use (filter <code>incv_show_rule_notice_without_items<\/code> restores the old behaviour). Gift debug data is printed to the browser console only in debug mode.<\/li>\n<li>Incentiv is now the complete free core. Special events, per-rule attribution with CSV export and the email digest, audience targeting, promotion protection, smart coupons and the smart rule builder moved to the separate Incentiv Pro add-on.<\/li>\n<li>Your data is kept: settings and rule fields that belong to Pro are left untouched, and a rule with audience conditions waits (does not apply) until Pro is active again, so a targeted offer never turns into an offer for everyone.<\/li>\n<li>Developers: a module registry and new hooks (<code>incv_register_modules<\/code>, <code>incv_admin_tabs<\/code>, <code>incv_rule_editor_cards<\/code>, <code>incv_dashboard_sections<\/code>, <code>incv_promotions_blocked<\/code>, <code>incv_rule_set_matches_audience<\/code>, <code>incv_sanitize_rule_set<\/code>, <code>incv_flow_builder_flows<\/code>).<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fixed: the cart no longer looks double-discounted. A discount added as a cart line (the default) is now shown only in that line, with no extra strike-through on the product row and no reduced Subtotal. Discounts allocated onto products are shown only in the product prices, with no extra \"already included\" row above the total. Totals were always correct.<\/li>\n<li>Privacy: the optional geolocation fallback for location-restricted special events is now off by default and must be enabled per event (special events are part of Incentiv Pro since 2.1.0).<\/li>\n<li>The jQuery UI datepicker CSS is bundled locally instead of being loaded from code.jquery.com.<\/li>\n<li>i18n: every hard-coded Hebrew string in the admin, storefront, emails and JavaScript is now English source text wrapped in gettext. JavaScript uses <code>wp.i18n<\/code> with <code>wp_set_script_translations()<\/code>. Hebrew included: the translation ships as <code>languages\/incentiv-he_IL.po\/.mo<\/code> plus JSON files for the scripts, and the <code>.pot<\/code> is included.<\/li>\n<li>The admin layout follows the site's text direction: left-to-right on LTR sites, right-to-left on Hebrew and other RTL sites.<\/li>\n<li>Security: late escaping for HTML built in PHP (badges, site-wide notices, debug panels, banners) and for exception messages.<\/li>\n<li>Fix: the daily analytics cleanup no longer runs a DELETE on the special-events analytics table before that table exists.<\/li>\n<li>English plugin description and readme; Requires at least 6.0, Requires PHP 7.4, <code>Requires Plugins: woocommerce<\/code>.<\/li>\n<li>The GitHub sync module is optional (it is not part of the WordPress.org package).<\/li>\n<li>Declares WooCommerce HPOS compatibility (orders are only read through <code>wc_get_orders()<\/code>).<\/li>\n<li>The default rule created on a fresh install now has a translatable English name (\"Default quantity discounts\").<\/li>\n<li>Readme: shorter description, Donate link, FAQ on the English admin. New English screenshots.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Rebrand: Incentiv, the advanced promotions engine for WooCommerce.<\/li>\n<li>New admin design: analytics dashboard, rule step indicator and live preview.<\/li>\n<li>Gifts (v2): gift rules with customer choice, stock awareness and fallbacks, including Elementor widgets.<\/li>\n<li>Smart coupons and coupon management.<\/li>\n<li>Special events: scheduling, access control, checkout and analytics.<\/li>\n<li>Visual flow builder and conversational rule builder.<\/li>\n<li>Segments and targeting, margin guards and limits, discount allocation.<\/li>\n<li>Reports and attribution: per-rule metrics, lift, CSV export and an email digest.<\/li>\n<li>Rule Diagnostic and Storefront view in the admin.<\/li>\n<li>Elementor widgets: event banner, gift selection and events.<\/li>\n<li>Shortcodes: incv_gift_selection, incv_rule_banner.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: quantity discounts, flexible product selection, custom messages, debug mode.<\/li>\n<\/ul>","raw_excerpt":"A promotions engine for WooCommerce: quantity and mix &amp; match discounts, automatic gifts and BOGO, margin guards and a visual flow builder.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/409648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=409648"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/elis85"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=409648"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=409648"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=409648"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=409648"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=409648"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=409648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}