Skip to content

Releases: aaruca/woobooster

v2.1.1

Choose a tag to compare

@aaruca aaruca released this 18 Feb 16:20

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

Choose a tag to compare

@aaruca aaruca released this 16 Feb 22:35

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

Choose a tag to compare

@aaruca aaruca released this 16 Feb 21:38

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_copurchased postmeta
  • 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

Choose a tag to compare

@aaruca aaruca released this 16 Feb 17:47

v1.5.1 — Bug Fixes & Full Audit

Critical Fixes

  • Fresh install fixed: Added legacy columns to CREATE TABLE schema so new installs work correctly
  • Import/Export fixed: Replaced non-existent WooBooster_Rule_Model with WooBooster_Rule, now exports/imports conditions and actions
  • Uninstall fixed: Now drops woobooster_rule_conditions and woobooster_rule_actions tables on uninstall
  • include_children now works in queries: Passed to tax_query in WP_Query
  • check_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_version update from migrate_tables()
  • Removed dead code: $action_value_label, initAutocomplete(), initSourceToggle()

UI/CSS Fixes

  • Add Action button now works correctly (JS createActionRow rewritten)
  • Actions now support + Children checkbox
  • Condition row inputs match action row compact padding
  • .tablenav padding fixed to 0 20px
  • Added missing .wb-hr and .wb-list CSS rules
  • Fixed wb-btn--secondary → wb-btn--subtle
  • Removed duplicate entries in $allowed_hooks
  • Removed duplicate docblock

v1.5.0 - Import/Export & UI Fixes

Choose a tag to compare

@aaruca aaruca released this 16 Feb 16:07

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

Choose a tag to compare

@aaruca aaruca released this 16 Feb 02:23

Added a dedicated Documentation tab in Settings for easier reference.

v1.3.8: UI Improvements

Choose a tag to compare

@aaruca aaruca released this 16 Feb 02:15

Optimized admin UI spacing and clarified settings labels.

v1.3.7: UI Fix

Choose a tag to compare

@aaruca aaruca released this 16 Feb 02:05

Fixed admin tab contrast issue where active tab was hard to read on hover.

v1.3.6: Hotfix

Choose a tag to compare

@aaruca aaruca released this 16 Feb 02:01

Fixed ArgumentCountError fatal error in rule saving logic.

v1.3.5

Choose a tag to compare

@aaruca aaruca released this 16 Feb 01:55

Deep Code Audit & Modernization