{
    "name": "Valabi Smart Offers",
    "slug": "valabi-smart-offers",
    "version": "1.1.0",
    "download_url": "https://mobodel.ir/wp-updates/valabi-smart-offers-1.1.0.zip",
    "homepage": "https://valabi.ir/",
    "author": "<a href=\"https://valabi.ir\">Valabi</a>",
    "requires": "5.8",
    "tested": "6.6",
    "requires_php": "7.4",
    "last_updated": "2026-06-08 02:19:54",
    "sections": {
        "description": "<p>Valabi Smart Offers turns one rule engine into many promotion types. Every offer is a Trigger → Conditions → Reward → Display row, so category deals, spend thresholds, free gifts, discounted add-ons and free shipping are all configured the same way.</p><p>Two offer sources, one click-to-accept pipeline:</p><ul><li>**Cart-based rules** (the \"Offers\" screen) react to what is in the cart — categories, products, item quantity, or subtotal — and reward a free/discounted product or free shipping.</li><li>**Frequently bought together** bundles (set on the product editor) show up to 3 companion products under the add-to-cart button, each with its own discount. Companion discounts apply only while the main product stays in the cart.</li></ul><p>Three display surfaces, all driven by the same offer card:</p><ul><li>Post-add-to-cart popup</li><li>Small order-bump card above the Place Order button</li><li>Progress bar (\"spend X more for a free gift / free shipping\")</li></ul><p>Other features:</p><ul><li>Click-to-accept (nothing is auto-added) — fewer surprises, fewer edge cases</li><li>Stacking vs exclusive offers, priority ordering</li><li>Exclude sale items from conditions</li><li>Campaign scheduling (start/end)</li><li>Per-offer analytics: impressions, accepts, conversion rate, attributed revenue</li><li>Bilingual FA/EN, RTL admin with inline how-to guides on every field</li><li>HPOS compatible</li></ul><p>Truthful pricing: the \"before\" price is always the product's real price — the plugin never fabricates a strike-through.</p>",
        "changelog": "<h4>1.1.0</h4><ul><li>Removed the license system — the plugin no longer needs a key and is always active (no gate, no License screen). Replaced with a silent once-a-day technical usage ping (site URL + plugin/WP/WC/PHP versions); no UI, never blocks the site. Disable via the VALABI_SO_TELEMETRY_OFF constant or the valabi_so_telemetry_enabled filter.</li></ul><h4>1.0.3</h4><ul><li>Fixed license activation: after saving a key you are no longer sent to a \"you are not allowed to access this page\" screen — you land on the Offers list. The License menu now sorts LAST under the Offers menu instead of first.</li><li>Fixed front-end 404s after activation: rewrite rules are flushed once automatically when the gate first opens.</li></ul><h4>1.0.2</h4><ul><li>Security/privacy — the license key is no longer pre-filled in the settings field (only a masked \"current key\" hint is shown), and the validation endpoint URL is no longer displayed. Submitting the form with the key field left blank now re-validates the existing key instead of wiping it.</li></ul><h4>1.0.1</h4><ul><li>License activation — the plugin now validates a manually-issued license key against the Valabi license server. Without a valid key the offer features stay off and the settings are hidden, but the store keeps working normally (no errors, checkout unaffected).</li><li>Fail-safe by design — the license check never makes the storefront slow or fragile: the gate reads cached state only, validation runs on a daily cron, and a temporarily unreachable server keeps an active site working within a grace window.</li><li>First stable release.</li></ul><h4>0.7.0</h4><ul><li>Accent color schemes — pick from 6 shades (Magenta default, Violet, Ocean, Emerald, Sunset, Graphite) under Settings → Accent color; recolors the popup, checkout bump, progress bar and product boxes.</li><li>Popup polish — cleaner background-less close button (crisp X icon), sharper text rendering, and a higher-contrast product card so the modal no longer looks washed out.</li><li>Fixed: with popup frequency set to “Every time it qualifies”, the popup now reliably re-shows on every qualifying add-to-cart instead of only the first time.</li></ul><h4>0.6.0</h4><ul><li>Choose-your-gift upgrades — each candidate can now carry its own discount (one gift free, another at 50% off, etc.), and customers can pick more than one gift (\"pick any N of M\").</li><li>Progress bar by quantity — the bar now tracks a quantity goal (whole cart, a category, or a product), not only a spend threshold, with messages phrased in the goal's own units.</li><li>Frequently-bought-together on the cart page — a new \"Complete your order\" box aggregates the FBT companions of everything in the cart; toggle it under Settings → Cart-page suggestions.</li><li>Persian translation and .pot updated for all new strings.</li></ul><h4>0.5.0</h4><ul><li>Stock guard — offers auto-hide when the reward product is out of stock or not purchasable.</li><li>Refund-aware analytics — attributed revenue and redemption counts are reversed when an order is refunded or cancelled.</li><li>Subtotal threshold now nets out coupon discounts already applied to the cart.</li><li>New reward type — Percentage off the whole cart.</li><li>Exclusions & targeting — “cart does NOT contain” products/categories, user-role targeting, and new-customer (first-order) targeting.</li><li>Coupon-stacking control — option to hide offers when a coupon is already applied.</li><li>Popup frequency cap — show the popup every time, once per session, or once per day.</li><li>Countdown urgency — optional real per-visitor countdown timer in the popup.</li></ul><h4>0.4.0</h4><ul><li>Internationalization: all source strings are now English with a complete shipped Persian (fa_IR) translation, plus a .pot template — the plugin is now translatable into any language while Iranian stores still read Persian out of the box.</li><li>First-run onboarding: a welcome notice with one-click “create a sample offer” so a merchant sees a working, pre-filled offer in seconds.</li></ul><h4>0.3.0</h4><ul><li>New reward type — Choose-your-gift: offer a few products and let the shopper pick one free/discounted, with a polished selectable grid in the popup and checkout bump.</li><li>New reward type — BOGO / quantity-scaled gifts: \"buy X of a product/category, get M\" with the gift quantity rescaling live as the cart changes.</li><li>Storefront UI redesign: refined magenta-on-white component system (popup, checkout bump, progress bar, FBT) with soft shadows, spring motion, accessible focus states, reduced-motion support, and full RTL.</li></ul><h4>0.2.0</h4><ul><li>Performance gate: the storefront engine (hooks, AJAX, assets) only loads when at least one offer or FBT bundle is actually configured — a store with nothing set up pays a single autoloaded option read and zero queries. Surfaces register only when used and enabled.</li><li>Gift quantity is locked — a gift line can no longer be multiplied for extra discount.</li><li>One gift per offer — an accepted offer stops showing on every surface and cannot be added twice.</li><li>Usage limits — per-customer (logged-in) and global redemption caps, counted on paid orders.</li><li>A clear cart notice now explains when a gift has reverted to full price instead of charging silently.</li><li>Checkout-bump on/off toggle added to settings.</li></ul><h4>0.1.0</h4><ul><li>Initial release: cart-rule engine, FBT bundles, popup + checkout bump + progress bar, click-to-accept gift mechanic, free shipping reward, per-offer analytics.</li></ul>"
    }
}