PW – Ofertas Avanzadas Lite
Run WooCommerce discount campaigns in minutes — three marketing strategies, a step-by-step wizard, and optional product badges.
Install in
PW – Ofertas Avanzadas Lite lets you design, launch, and manage discount campaigns in WooCommerce based on real marketing strategies. A guided wizard walks you through every setting, automatic matching counts tell you how many products qualify before you publish, and optional badge overlays let shoppers know a deal is live.
Whether you’re clearing slow-moving stock, rewarding bulk buyers, or discounting items that are approaching their sell-by date, you get purpose-built strategies instead of generic coupon workarounds.
Guided campaign wizard
Every campaign starts with the same clean wizard:
- Choose a strategy and give the campaign a name.
- Pick your target products or categories — the wizard filters out already-selected items and shows a live matching count as you adjust the audience.
- Configure the discount tier for that strategy (percentage or fixed amount, validated in real time).
- Set a start/end date if needed.
- Publish — the discount applies automatically at checkout and on product pages.
Three ready-made marketing strategies
Basic product discount
A straight percentage or fixed-amount reduction on one or more products. Use it for seasonal promotions, welcome offers, or clearance sales where you want a simple, clearly labelled markdown.
Buy X, pay Y
Automatically applies when a customer adds the required quantity to the cart — no coupon code needed. Set up 2-for-1, 3-for-2, 5-for-4, or any combination. Ideal for consumer goods, bundles, and inventory you want to move fast. You can cap how many times the deal applies per order.
Expiry-based tiered discount
Built for perishable and time-sensitive items: food, beverages, cosmetics, pharmaceuticals. Define discount tiers by days-until-expiry — for example, 30 days left = 10 % OFF; 15 days = 20 % OFF; 7 days = 35 % OFF. WooCommerce calculates the right tier automatically, so you reduce waste without manually repricing products every week.
Product badges
Opt in to badge overlays on your WooCommerce product images. When a campaign is live, an “On sale” or custom-label badge appears on the product card and product page — giving customers a visual cue without requiring theme edits or shortcodes.
Campaign management
All active and scheduled campaigns live in a single dashboard. Enable, pause, or delete a campaign in one click. Edit strategy settings at any time and the changes take effect on the next page load. Campaigns are stored in dedicated database tables (created automatically on activation) and never interfere with WooCommerce’s native coupon system.
Languages
The plugin is written in English. A full Spanish (es_ES) translation is included and loads automatically when the site locale is set to any es_* variant.
Pro edition
A separate Pro edition adds advanced strategies (bulk volume discounts, attribute-quantity tiers), built-in analytics, and additional audience filters. It is sold directly by the author and is not distributed through this WordPress.org listing.
External services
This plugin does not call remote APIs or send store data to third-party servers in the background. Wizard and dashboard admin layouts use utility CSS bundled in the plugin (assets/css/pwoa-tailwind-admin.css). The bundled design library (pw/backend-ui) loads its own JavaScript and CSS from the plugin package only; it does not load the Tailwind Play CDN.
Written by Joobi from the project's own listing. See the source page
2.28.2
- Fix: Only one badge per product (the winning offer); the offer-name badge follows the discount font size; deleting an offer in Lite no longer throws a JS error; turning a wizard filter off hides its chips without clearing them, plus a Clear button per filter.
2.28.1
- Change: admin screens share one layout (dashboard, wizard, settings, shortcodes and badges). An expiry offer no longer says it covers the whole store: the summary names products with an expiry date, and says the offer will not apply until those dates exist. Badges can show a phrase beside the discount.
2.28.0
- Change: the product and category filters of a campaign now add up (a product enters if it is listed or in one of the categories); the price range restricts both. This also applies to existing campaigns that use both filters, which now cover more products. A category does not include its subcategories.
- Change: Expiry-based discount: each tier has its own type (percentage or fixed per unit) and the global type select is gone. Tiers saved before this version keep the campaign’s type. A product variation with its own expiry date now uses it in the catalog too, as in the cart.
- Change: an Expiry-based campaign can no longer be saved without at least one tier with a discount.
- Change: removed the campaign conditions without a screen in the wizard (tags, excluded products, “on sale” and attribute conditions). A campaign that stored them through the API is no longer restricted by them.
- Change: the wizard does not let you save a Products or Categories filter that is on but empty (for example when its products were deleted), so a campaign is never widened to the whole store by mistake.
- Fix: Buy X pay Y (and in Pro, Bulk and Free shipping) campaigns could not be created or edited from the wizard (“Invalid value”).
- Fix: wizard tiers: removing a tier and adding another no longer overwrites a tier; tiers are cards with “Add tier” on top; turning a step-3 filter off and on keeps its selection; the progress bar is locked on step 3.
- Fix: the step-3 counter, “View products” and
[pwoa_productos_oferta]now list exactly what the cart discounts (variable products once, prices with decimals, minimum price 0); for Expiry-based campaigns only products with an expiry date are offered and counted. - Fix: a campaign with a deleted product can be opened for editing again.
- The product’s expiry date field is labelled “PW – Ofertas Avanzadas”.
2.27.0
- Change: uninstalling no longer deletes campaigns and statistics unless “Delete data on uninstall” is turned on (Offers Badges).
- Change: a coupon with “Individual use only” in the cart turns the campaigns off there (discount, struck-through lines, free shipping, cart badges); other coupons stack with them.
- Change: variable products show the price range of their discounted variations, like WooCommerce, and the badge belongs to a real variation.
- Change: badges show up to one decimal, truncated (-12.5% instead of -13%).
- Change:
[pwoa_productos_oferta]no longer lists the whole catalog when its campaign is paused, scheduled, expired or missing, or when the strategy has no active campaigns;limit/per_pagestay between 1 and 100. - Fix: with prices entered including tax, the discount no longer subtracts the tax a second time.
- Fix: no double discount on the first cart calculation of a request; the order records the campaigns of the discount actually charged.
- Fix: catalog and cart agree on old campaigns: an empty discount type is a percentage, an empty stacking mode is “Priority”, and at equal priority the oldest campaign wins.
- Database: JSON columns become LONGTEXT (on MySQL 8 the update copies the tables).
- New (Pro): Analytics records paid orders from this version on, one row per order and campaign, net of tax; earlier orders are not backfilled. The average discount is per discounted order.
- Developers: removed the unused AJAX actions
pwoa_get_strategies,pwoa_get_attributes,pwoa_get_attribute_terms,pwoa_validate_attributeandpwoa_get_products_by_attribute. - Pro: recurring purchase with a fixed amount applies once per order (it was per unit); free shipping sets the rates to 0 instead of adding a fee and leaves local pickup alone; cancelling or fully refunding an order returns its units to the bulk quota, which only counts discounted units; Pro deactivates Lite when both are active; manual updates (
Update URI); thepwoa_upgrade_urlfilter is removed.
2.26.13
- New: the single-product badge now recalculates when the selected variation changes, so each variation shows its own winning offer (e.g. basic discount vs expiry-based).
2.26.12
- Fix: expiry-based discount now displays correctly on the price detail of variations, falling back to the parent product’s expiry date.
2.26.11
- Fix: avoids fatal error in catalog badge resolution by passing the campaign object through badge-only strategy wrappers.
2.26.10
- Badges: catalog badges and sale prices now follow the same stacking behaviour as the cart (
StackingResolver). - Badges: independent checkout placement option; uniform badge font sizes across placements.
- Pricing: fixed struck-through regular price on variable variations; unified sale-price HTML markup.
2.26.9
- Cart: expiry-based discounts now fall back to the variable parent’s
_expiry_datewhen the variation has no date set (common setup for perishable variable products).
2.26.8
- Cart: Buy X pay Y pools quantity across eligible cart lines (fixes missing discount when qty is split across variations).
- Cart: bulk discounts match variation IDs and apply across multiple cart lines; order units-sold counter uses the same matching rules.
- Cart: low-stock and expiry-based strategies read variation stock and
_expiry_datemeta correctly. - Catalog: variable products show the lowest campaign sale price among qualifying variations.
- Attributes: attribute-based cart filtering loads variation attributes correctly.
2.26.6
- Badges: expiry-based campaigns now show the correct % or fixed-amount label in admin and on the storefront.
- Badges: discount and custom badges stack vertically on the product image instead of overlapping.
- Badges: lower z-index on badge overlays to avoid conflicts with theme layers.
- Lite: custom campaign badge text is a Pro-only feature; Lite shows discount badges only.
2.26.5
- Admin: new Badge settings page to customize the on-sale badge — label text, colors, and placement over the product image.
- Storefront: campaign discounts now render as native WooCommerce sale prices (original price struck through next to the discounted price) on catalog and product pages.
- Cart: restored the per-campaign discount breakdown in the cart and checkout totals, computed from base prices before the discount is applied.
2.26.1
- Fix: Lite package now ships
ProductPriceHandler.phpandCampaignPricingService.php(fixes fatal error on plugin load after updating from WordPress.org).
2.26.0
- Lite scope: the wizard and storefront ship three campaign strategies — basic discount, buy X pay Y, and expiry-based (bulk volume and attribute-quantity strategies are not offered in Lite; legacy rows for removed strategies are ignored at runtime).
- Wizard / admin: stronger AJAX category search (hierarchy, tighter matching, deduplication), product search improvements (variations, legacy parent handling, hiding already-selected picks), matching-count refresh when audience filters change, and consistent percentage vs fixed tier fields with validated 0–100% values (decimal-comma input supported).
- Stability: empty
stacking_modevalues default toprioritywhen saving campaigns. - Fix: admin no longer fatals when an older bundled
pw/backend-uicopy lacksCORE_STYLE_HANDLE(backward-compatible stylesheet dependency). - Fix: Lite package now includes
ProductPriceHandlerandCampaignPricingService(required by cart and catalog pricing since recent releases). - Code quality: nonce verification paths cleaned up (removed blanket PHPCS
NonceVerificationsuppressions in favour of explicit checks). - Dependencies:
pw/backend-uipinned to 1.4.7 in the distributed package.
2.2.5
- Storefront: products without a featured image no longer get offer badges wrapped around the main image—fewer odd layouts on the product page, including with WooCommerce’s own markup and Elementor’s Product Image widget.
- Admin: the compiled Tailwind stylesheet now loads right after BackendUI’s core CSS (
AssetsManager::CORE_STYLE_HANDLE), so utility classes sit where they should with the bundledpw/backend-ui. - i18n: more Spanish (
es_ES) strings covered in the bundled translation files (.po/.mo).
2.2.4
- Build: include
CampaignPostSanitizer.phpin the Lite package (fixes campaign save and conditional validation in the wizard).
2.2.2
- i18n: WordPress 6.7+ compatibility — defer admin bootstrap (BackendUI, menus) to the
initaction so thepezweb-ofertas-avanzadastext domain loads before any translated strings run (fixes_load_textdomain_just_in_timedoing work too early).
2.2.1
- Plugin Check compliance: resolved all NonceVerification, EscapeOutput, PrefixAllGlobals, and SQL prepared statement warnings.
- i18n: all gettext msgids now use English; text domain aligned with slug (pezweb-ofertas-avanzadas).
- Build: composer.json bundled with vendor/; hidden files and dev metadata excluded from ZIP.
2.1.5
- Remove all artificial feature limits and locked strategies to comply with WordPress.org Plugin Directory Guidelines.
- Lite build no longer includes Pro-only strategy references, upgrade URLs, or campaign count restrictions.
2.1.4
- Resolve all Plugin Check warnings: wp_unslash on all POST reads, absint for IDs, object cache for direct DB queries, remove deprecated load_plugin_textdomain.
- Build: Lite ZIP filename no longer includes -lite suffix (matches wp.org slug).
2.1.3
- Plugin URI now differs from Author URI (WordPress.org requirement).
- Lite no longer calls deactivate_plugins(); skips initialization when Pro is active and shows an admin notice instead.
2.1.2
- WordPress.org: uninstall handler, ZIP verification in build, readme external services; deploy option to keep current version; admin assets and shortcode hygiene.
2.1.1
- WordPress.org readiness: readme stable tag, external services disclosure, English plugin header description.
- Pro/Lite conflict: Pro correctly deactivates the Lite package when both are installed.
- i18n: Pro strategy labels use literal translatable strings; product expiry field and storefront notice are translatable.
- Styles: product expiry admin/frontend use enqueued CSS (no inline styles); admin Tailwind utilities built locally (no
cdn.tailwindcss.com).
2.0.18
- Readme and branding aligned with PW – Ofertas Avanzadas; Spanish (es_ES) translation; filterable Pro upgrade URL.
Follow this listing's changes (Atom feed)