Changelog
New Features:
- Manual Select application mode - product selection UI on product pages and cart with layout options (Grid, Compact, List)
- Auto Add application mode - automatic product selection with strategy options (Cheapest, Most expensive, First matching)
- Product Badge module - display discount badges on product images
- Savings Summary - display discount labels and total savings on cart/checkout
- Pricing Tables - horizontal/vertical style options with configurable columns
- Application Modes settings tab with global configuration
- Per-rule “Calculation base” setting (original price or current price)
- “Include backorder products” setting per rule
- Info Block styling settings with preset styles, discount label display, and custom CSS
- Custom title and description for Manual Select UI with WPML/Polylang support
- Server-side search for products, categories, and users in admin
- Shortcodes: [wpify_discount_product_selection], [wpify_discounts_savings_summary], [wpify_discount_info_block]
- Product edit page “Discount Rules” tab showing associated rules
- BOGO X/Y support for Manual Select and Auto Add modes
- Developer debug panel (WPIFY_WOO_DISCOUNTS_DEBUG constant)
- Plugin documentation
Improvements:
- Application mode compatibility groups - incompatible modes are now disabled in the selector
- Improved WPML/Polylang support - fallback for empty translations, untranslated products/categories
- Improved stock availability handling (in-stock, backorder, out-of-stock)
- Improved Cart Pool system and trigger consumption tracking
- Improved block cart compatibility
- Performance optimizations for rule lookups, target resolution, and category queries
- Code quality and DRY refactoring
Bug Fixes:
- Fixed rules cache invalidation across PHP-FPM workers
- Fixed memory limits on category products and currency conversion caches
- Fixed product feed plugins compatibility
- Fixed Cart Pool depletion for fee-based vs cart-item consumption
- Fixed BOGO X quantity limits with trigger_count_mode
- Fixed BOGO X “apply_to_multiples” calculation
Breaking:
- Session keys renamed with unified
wpify_woo_discounts_prefix - CSS class naming consistency (
wpify-woo-discount-*prefix) - Hook naming consistency (
wpify_woo_discounts_*prefix)
- Fix enqueue upsell bar inline styles
- Added: AutoAdd application mode - automatically adds free gifts to cart
- Added: Coupons module for coupon-based promotions and discounts
- Fixed: Analytics tracking support for WooCommerce block-based checkout
- Improved: Configured translations
- Added: Czech translations
- Added: Price rounding for percentage discounts with multiple modes (whole numbers, .99, .90, *9)
- Added: Filter hook ‘wpify_woo_discounts_round_price’ for custom rounding logic
- Added: Multilingual support for Discount Rules settings
- Added: Option to set Info block position per rule
- Fixed: Reload cart fragments for UpsellBar
- Fixed: WYSIWYG editor sanitization
- Added: Full WooCommerce Subscriptions integration with renewal behavior control
- Added: Renewal behavior settings (first order only, renewals only, both)
- Added: Trigger Count Mode - control how product quantities are counted (per variant, per parent, or match all)
- Added: WYSIWYG editor for discount messages with HTML support
- Added: Smart pricing tables for variable products (displays when all variants have same price)
- Added: New Module - Automatic countdown display from date conditions
- Improved: DiscountInfoBlock now filters and displays only matching subrules per product
- Improved: Promotional messages now display even when cart conditions aren’t met yet
- Fixed: Discount tracking for AutoAdd price mode
- Fixed: Exclusive rules now stop processing only when fully validated
- Fixed: Consistent rule data handling across the plugin