Wow Dynamic Deals for Woo
Advanced dynamic pricing, tiered discounts, cart promotions, and free gifts for WooCommerce
by Theodore Sfakianakis · github.com/theosfak/wow-dynamic-deals-for-woo · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/theosfak/wow-dynamic-deals-for-woo/archive/refs/heads/master.zipAdvanced dynamic pricing, tiered discounts, cart-level promotions, and free gift management for WooCommerce.
Author: Theodore Sfakianakis
Version: 1.0.0
License: GPL v2 or later
Features
🎯 Price Rules
- 5 Adjustment Types:
- Percentage discount
- Fixed amount discount
- Fixed price override
- Markup percentage
- Markup fixed amount
- Apply to regular prices, sale prices, or both
- Product/category targeting with AJAX search
- User role and specific user restrictions
- Date/time scheduling with days of week
- Priority system with rule cascade control
📊 Tiered Quantity Pricing
- Unlimited pricing tiers
- Drag-and-drop tier ordering
- Calculation Modes:
- Per line item (progressive tiers)
- Combined cart quantity (bulk pricing)
- 3 discount types per tier: percentage, fixed, or fixed price
- Automatic frontend pricing table display
🛒 Cart Discounts
- Percentage or fixed amount discounts
- Free shipping option
- Cart Conditions:
- Minimum/maximum cart total
- Minimum/maximum cart quantity
- User role targeting
- Schedule support
🎁 Free Gifts
- 4 Trigger Types:
- Specific product purchase
- Category purchase
- Cart total threshold
- Cart quantity threshold
- Multiple gift products
- Max gifts per order limit
- Automatic $0 pricing with gift meta
Installation
-
Upload Plugin:
- Upload
woo-dynamic-dealsfolder to/wp-content/plugins/ - Or install via WordPress admin: Plugins > Add New > Upload Plugin
- Upload
-
Activate:
- Go to Plugins menu
- Find "Woo Dynamic Deals"
- Click "Activate"
-
Configure:
- Navigate to WooCommerce > Dynamic Deals
- Enable desired modules in Settings tab
- Create your first rules
Usage Guide
Creating Price Rules
- Go to WooCommerce > Dynamic Deals > Price Rules
- Click "Add New Price Rule"
- Fill in the form:
- Title: Internal name for the rule
- Priority: Lower numbers execute first (default: 10)
- Adjustment Type: Select discount/markup type
- Adjustment Value: Enter amount
- Apply To: Choose price type (regular/sale/both)
- Products: Select specific products (optional)
- Categories: Select categories (optional)
- Schedule: Set active dates/times/days (optional)
- Users: Restrict to roles or specific users (optional)
- Click "Save Rule"
Creating Tiered Pricing
- Go to Tiered Pricing tab
- Click "Add New Tiered Pricing"
- Set calculation mode:
- Per Line: Tiers apply to individual products
- Combined: Tiers apply to total cart quantity
- Add tiers:
- Click "Add Tier"
- Set min/max quantity range
- Choose discount type and value
- Add more tiers as needed
- Drag tiers to reorder
- Click "Save Tiered Pricing"
Creating Cart Discounts
- Go to Cart Discounts tab
- Click "Add New Cart Discount"
- Configure discount:
- Set discount type (percentage/fixed)
- Enter discount value
- Enable free shipping (optional)
- Set cart conditions:
- Minimum/maximum cart total
- Minimum/maximum cart quantity
- Add scheduling/user restrictions
- Click "Save Cart Discount"
Creating Gift Rules
- Go to Gifts tab
- Click "Add New Gift Rule"
- Select trigger type:
- Product: Triggered by specific product purchase
- Category: Triggered by category purchase
- Cart Total: Triggered at cart total threshold
- Cart Quantity: Triggered at quantity threshold
- Set trigger value (product/category/amount/quantity)
- Select gift products
- Set max gifts per order (0 = unlimited)
- Click "Save Gift Rule"
Settings
Module Control
- Enable/disable each rule type independently
- Price Rules
- Tiered Pricing
- Cart Discounts
- Gifts
Cache Configuration
- Enable/disable caching system
- Set cache expiration time (seconds)
- Default: 3600 seconds (1 hour)
Debug Mode
- Enable to log rule processing
- View logs in WordPress debug.log
Template Overrides
Copy templates to your theme for customization:
your-theme/
└── woo-dynamic-deals/
├── tiered-pricing-table.php
├── discount-badge.php
├── gift-message.php
└── savings-summary.php
Developer Hooks
Actions
// Fired after plugin initialization
do_action('wdd_init');
// Fired after admin initialization
do_action('wdd_admin_init');
// Fired when a rule is created
do_action('wdd_rule_created', $rule_id, $rule_type);
// Fired when a rule is updated
do_action('wdd_rule_updated', $rule_id, $rule_type);
// Fired when a rule is deleted
do_action('wdd_rule_deleted', $rule_id, $rule_type);
Filters
// Modify price before applying rules
apply_filters('wdd_before_price_calculation', $price, $product);
// Modify final calculated price
apply_filters('wdd_final_price', $price, $product, $applied_rules);
// Modify tiered pricing tiers
apply_filters('wdd_tiered_tiers', $tiers, $product);
// Modify cart discount amount
apply_filters('wdd_cart_discount_amount', $discount, $cart);
FAQ
Q: Can I combine multiple rules?
A: Yes, rules with higher priority execute first. Use "Stop further rules" to prevent cascade.
Q: Do price rules work with sale prices?
A: Yes, choose "Apply To" option: regular, sale, or both prices.
Q: Can I schedule rules for specific days?
A: Yes, use the scheduling section to set dates, times, and days of week.
Q: How do I target wholesale customers?
A: Use user role restrictions to target specific roles like "Wholesale Customer".
Q: Can gifts be limited per customer?
A: Currently limited per order. Per-customer limits coming in future version.
Q: Is HPOS compatible?
A: Yes, fully compatible with High-Performance Order Storage.
Troubleshooting
Rules not applying
- Check rule is Active (toggle in rules list)
- Verify schedule dates/times are current
- Check user role restrictions match current user
- Review priority - higher priority rules may stop cascade
- Enable Debug Mode in Settings to see processing logs
Tiered pricing table not showing
- Verify Tiered Pricing module is enabled in Settings
- Check tiered rule is active and scheduled
- Ensure product/category targeting matches
- Clear WordPress cache
Gifts not adding to cart
- Verify gift products exist and are in stock
- Check trigger conditions are met
- Review max gifts limit
- Enable Debug Mode to check processing
Performance issues with many rules
- Enable cache in Settings
- Use product/category targeting to limit rule evaluation
- Optimize database with rule priorities
- Consider increasing cache expiration time
Import/Export
Export rules for backup or migration:
- Go to Settings tab
- Click "Export Rules"
- Choose rule type (or "All")
- Save JSON file
Import rules:
- Go to Settings tab
- Click "Import Rules"
- Upload JSON file
- Choose overwrite option
- Click "Import"
Support
- Documentation: GitHub Wiki
- Issues: GitHub Issues
- Email: support@example.com
Changelog
1.0.0 - December 15, 2025
Initial Release
- ✅ Price Rules engine with 5 adjustment types
- ✅ Tiered Quantity Pricing with unlimited tiers
- ✅ Cart Discount Rules with free shipping
- ✅ Free Gift Rules with 4 trigger types
- ✅ Modern admin dashboard with modals
- ✅ AJAX product/category/user search
- ✅ Advanced scheduling (dates, times, weekdays)
- ✅ User role and individual user targeting
- ✅ Customizable frontend display with color/font options
- ✅ Import/Export functionality
- ✅ Bulk actions support
- ✅ HPOS compatibility
- ✅ Translation ready
- ✅ Comprehensive settings page
👤 Author
Theodore Sfakianakis
- GitHub: @TheoSfak
- PayPal: TheodoreSfakianakis
💝 Support Development
If you find this plugin helpful, consider supporting future development:
PayPal: https://www.paypal.com/paypalme/TheodoreSfakianakis
Your support helps maintain and improve this plugin! ❤️
📄 License
This plugin is licensed under the GPL v2 or later.
Copyright (C) 2025 Theodore Sfakianakis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Made with ❤️ by Theodore Sfakianakis
License
GPL v2 or later. See LICENSE file for details.