Repository navigation
Releases: aaruca/woobooster
Release list
v2.1.1
Bug Fix
- fix(bricks): WooBooster Settings controls no longer appear on every query loop — they are now correctly hidden unless the loop type is set to "WooBooster Recommendations"
Full Changelog since v1.5.0
- feat: v2.0.0 — Smart Recommendations engine (co-purchase, trending, recently viewed, similar)
- feat: v2.1.0 — Attribute action source with taxonomy + value picker
- feat(admin): Two-step condition selector (Type + Attribute taxonomy picker)
- fix(bricks): Hide WooBooster Settings when query type is not WooBooster
v2.1.0 — Attribute Action Source
What's New
Attribute Action Source
- New "Attribute" action source — Pick a specific attribute taxonomy (e.g., Brand, Color, Caliber) AND a specific term value (e.g., Glock, Red, 9mm) to recommend products matching that exact attribute combination.
- Distinct from "Same Attribute" — "Same Attribute" auto-detects the value from the current product. The new "Attribute" source lets you hardcode a specific attribute + value regardless of the current product.
- Two-step picker UI — When selecting "Attribute" as the action source, a taxonomy dropdown appears followed by an autocomplete for the term value.
Bug Fix
- Fixed allowed sources whitelist in rule model to include all smart recommendation sources (copurchase, trending, recently_viewed, similar) — previously only category, tag, and attribute were whitelisted.
Full Changelog: v2.0.0...v2.1.0
v2.0.0 — Smart Recommendations
Smart Recommendations Engine
WooBooster 2.0 introduces 4 intelligent recommendation strategies — all without creating any new database tables.
New Action Sources
| Source | Description | Storage |
|---|---|---|
| Bought Together | Products frequently purchased together, based on order history analysis | Product postmeta |
| Trending | Bestselling products per category, based on recent sales velocity | WordPress transients |
| Recently Viewed | Products the visitor recently browsed | Browser cookie |
| Similar Products | Same category + similar price range, ordered by total sales | WordPress transients |
Admin Controls
- Smart Recommendations settings card on the Settings page
- Enable/disable each strategy independently
- Configure days to analyze (default: 90) and max relations per product (default: 20)
- Rebuild Now button for instant manual index builds
- Clear All Data button to purge all computed data
- Last build status display with timing info
How It Works
Smart strategies are available as new Action Sources in your rules. Combine them with traditional taxonomy-based actions — e.g., show 3 "Bought Together" + 3 from a category.
- Bought Together: Nightly WP-Cron scans completed orders, computes co-purchase scores, stores top N related IDs in
_woobooster_copurchasedpostmeta - Trending: Every 6 hours, aggregates sales data per category into ranked transients
- Recently Viewed: Cookie-based, zero DB overhead
- Similar: Real-time WP_Query with ±25% price range + same category + order by sales, cached for 24h
Zero New Tables
All data uses native WordPress storage: wp_postmeta, wp_options (transients), browser cookies. Clean uninstall removes everything.
Updated Documentation
The Documentation tab now includes full Smart Recommendations reference.
v1.5.1 - Bug Fixes & Audit
v1.5.1 — Bug Fixes & Full Audit
Critical Fixes
- Fresh install fixed: Added legacy columns to
CREATE TABLEschema so new installs work correctly - Import/Export fixed: Replaced non-existent
WooBooster_Rule_ModelwithWooBooster_Rule, now exports/imports conditions and actions - Uninstall fixed: Now drops
woobooster_rule_conditionsandwoobooster_rule_actionstables on uninstall include_childrennow works in queries: Passed totax_queryinWP_Querycheck_dependencies()fixed: Now actually prevents init when WooCommerce is missing
Logic Fixes
- Rule list table now queries actual conditions/actions tables (shows "+N" badges for multiple)
- Removed duplicate
db_versionupdate frommigrate_tables() - Removed dead code:
$action_value_label,initAutocomplete(),initSourceToggle()
UI/CSS Fixes
- Add Action button now works correctly (JS
createActionRowrewritten) - Actions now support
+ Childrencheckbox - Condition row inputs match action row compact padding
.tablenavpadding fixed to0 20px- Added missing
.wb-hrand.wb-listCSS rules - Fixed
wb-btn--secondary→wb-btn--subtle - Removed duplicate entries in
$allowed_hooks - Removed duplicate docblock
v1.5.0 - Import/Export & UI Fixes
New Features
- Import/Export Rules: Easily migrate your rules.
- Admin UI: Improved Actions layout.
Fixes
- Duplicate Tabs: Fixed Documentation tab bug.
- Code: Linting and cleanup.
v1.4.0: Documentation Tab
Added a dedicated Documentation tab in Settings for easier reference.
v1.3.8: UI Improvements
Optimized admin UI spacing and clarified settings labels.
v1.3.7: UI Fix
Fixed admin tab contrast issue where active tab was hard to read on hover.
v1.3.6: Hotfix
Fixed ArgumentCountError fatal error in rule saving logic.