Beschrijving
Auto Discounts for WooCommerce
Beschrijving
Auto Discounts for WooCommerce automatically applies discounts to your products based on how long they’ve been in your catalog. Perfect for stores that want to automate their discount strategies for older inventory.
Key Features:
- Age-Based Discount Rules: Set up discount rules based on product age (days since creation)
- Flexible Discount Periods: Configure different discount percentages for different time periods (e.g., 10% after 30 days, 20% after 60 days, 30% after 90 days)
- Category Exclusions: Exclude specific product categories from automatic discounts
- Automatic or Manual Application: Choose between daily automatic application or manual trigger on demand
- Performance Optimized: Uses batch processing to handle large catalogs efficiently
- Stock-Aware: Only applies discounts to products in stock
- WooCommerce Compatible: Fully integrated with WooCommerce pricing system
- HPOS Compatible: Works with WooCommerce High-Performance Order Storage (HPOS)
Use Cases:
- Clear old inventory automatically
- Create time-sensitive promotions
- Reduce manual discount management
- Improve inventory turnover
- Automate seasonal sales strategies
How It Works:
The plugin calculates each product’s age from its creation date in WordPress. Based on your configured rules, it automatically applies the appropriate discount percentage. Discounts are applied directly to product prices and are visible to customers immediately.
Schermafbeeldingen
Installatie
- Download the plugin and extract the zip file
- Upload the ‘auto-discounts-for-woocommerce’ folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Navigate to WooCommerce > Auto Discounts to configure your discount rules
- Set up your discount rules (age thresholds and percentages)
- Optionally exclude product categories
- Choose automatic daily application or manual trigger
FAQ
How is product age calculated?
Product age is calculated from the product’s creation date in WordPress (post_date). The plugin counts the number of days since the product was created.
Do discounts apply to out-of-stock products?
No, discounts are only applied to products that are currently in stock. This helps optimize performance and ensures discounts are only shown for available products.
Can I exclude certain product categories?
Yes, you can select specific product categories to exclude from automatic discounts in the plugin settings. This is useful for categories like “New Arrivals” or “Featured Products” that you want to keep at full price.
Can I apply discounts manually?
Yes, the plugin supports both automatic daily application and manual trigger. You can apply discounts on demand from the plugin settings page.
Will discounts affect existing orders?
No, discounts only apply to product prices going forward. They do not affect orders that have already been placed.
Is this plugin compatible with WooCommerce HPOS?
Yes, the plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS).
What happens if I change discount rules?
When you update discount rules, you can manually trigger a recalculation to apply the new rules to all products immediately.
Beoordelingen
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“Auto Discounts for WooCommerce” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Auto Discounts for WooCommerce” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0.3
- Security: Added and verified nonces (saves, AJAX, filters)
- Security: Sanitized inputs (
$_GET,$_POST) and escaped outputs - Performance/Quality: Object cache for admin queries; PHPCS annotations
- Compatibility: Tested with WooCommerce up to 10.1.1; HPOS declared
- Miscellaneous: Unified text domain; compliant readme and headers
1.0.0
- Initial release






