Title: Auto Discounts for WooCommerce
Author: Tommy Bordas
Published: <strong>2025-11-14</strong>
Last modified: 2026-09-23

---

Szukaj wtyczek

![](https://s.w.org/plugins/geopattern-icon/auto-discounts-for-woocommerce.svg)

# Auto Discounts for WooCommerce

 Autor: [Tommy Bordas](https://profiles.wordpress.org/tommybordas/)

[Pobierz](https://downloads.wordpress.org/plugin/auto-discounts-for-woocommerce.1.0.6.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/auto-discounts-for-woocommerce/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/auto-discounts-for-woocommerce/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/auto-discounts-for-woocommerce/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/auto-discounts-for-woocommerce/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/auto-discounts-for-woocommerce/)

## Opis

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 the WordPress product publish date)
 * **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 WooCommerce Action Scheduler and 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 WordPress product publish date.
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.

## Zrzuty ekranu

[⌊Admin interface for configuring discount rules⌉⌊Admin interface for configuring
discount rules⌉[

Admin interface for configuring discount rules

[⌊Example of products with discounts applied in the shop⌉⌊Example of products with
discounts applied in the shop⌉[

Example of products with discounts applied in the shop

[⌊Discount dashboard showing statistics and rule usage⌉⌊Discount dashboard showing
statistics and rule usage⌉[

Discount dashboard showing statistics and rule usage

## Instalacja

 1. Download the plugin and extract the zip file
 2. Upload the 'auto-discounts-for-woocommerce’ folder to the '/wp-content/plugins/’
    directory
 3. Activate the plugin through the 'Plugins’ menu in WordPress
 4. Navigate to WooCommerce > Auto Discounts to configure your discount rules
 5. Set up your discount rules (age thresholds and percentages)
 6. Optionally exclude product categories
 7. Choose automatic daily application or manual trigger

## Najczęściej zadawane pytania

### How is product age calculated?

Product age is calculated from the product’s WordPress publish date (`post_date`).
The plugin counts the number of days since the product was published.

This is especially relevant for imported or duplicated products: the plugin uses
the current product’s actual WordPress publish date, not any inherited import metadata
or copied custom field.

### 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.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Auto Discounts for WooCommerce” jest oprogramowaniem open source. Poniższe osoby
miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ Tommy Bordas ](https://profiles.wordpress.org/tommybordas/)

[Przetłumacz wtyczkę “Auto Discounts for WooCommerce” na swój język.](https://translate.wordpress.org/projects/wp-plugins/auto-discounts-for-woocommerce)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/auto-discounts-for-woocommerce/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/auto-discounts-for-woocommerce/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/auto-discounts-for-woocommerce/)
przez [RSS](https://plugins.trac.wordpress.org/log/auto-discounts-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.6

 * Fix: Product age now uses `post_date`, the publish date shown in the admin, read
   in the site timezone. `post_date_gmt` can keep the original date on backdated
   products (SQL update or `wp_update_post()` without `post_date_gmt`), which kept
   them in lower discount tiers.
 * Fix: Variations use their parent product’s publish date.
 * Fix: A publish date in the future no longer counts as product age.
 * Admin: The scheduled tasks warning now appears only when the daily update is 
   actually overdue, not whenever `DISABLE_WP_CRON` is set (a server cron job usually
   takes over).

#### 1.0.5

 * Reliability: Automatic discounts now use WooCommerce product APIs instead of 
   direct price meta updates.
 * Reliability: Removing all rules now removes previously applied automatic discounts.
 * Performance: Discount recalculation runs in Action Scheduler batches when available,
   with a synchronous fallback.
 * Compatibility: Improved support for variation pricing and parent product price
   syncing.
 * Admin: Added daily automation toggle, last update status, and saved-rules preview.
 * Admin: Fixed product exclusion filter behavior and tooltip positioning.
 * Security: Added explicit capability checks to AJAX preview and hardened preview
   rendering.
 * Quality: Improved rule sanitization and stats cache invalidation.

#### 1.0.4

 * Fixed product age calculation for imported or duplicated products by using the
   product’s actual WordPress publish date.
 * Clarified how product age is calculated in the readme.

#### 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

## Meta

 *  Wersja **1.0.6**
 *  Ostatnia aktualizacja **2 tygodnie temu**
 *  Włączone instalacje **Mniej niż 10**
 *  Wersja WordPressa ** 5.0 lub nowszej **
 *  Testowano do **7.1.3**
 *  Wersja PHP ** 7.2 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/auto-discounts-for-woocommerce/)
 * Tagi
 * [automatic](https://pl.wordpress.org/plugins/tags/automatic/)[discounts](https://pl.wordpress.org/plugins/tags/discounts/)
   [pricing](https://pl.wordpress.org/plugins/tags/pricing/)[woocommerce](https://pl.wordpress.org/plugins/tags/woocommerce/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/auto-discounts-for-woocommerce/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/auto-discounts-for-woocommerce/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/auto-discounts-for-woocommerce/reviews/)

## Zaangażowani

 *   [ Tommy Bordas ](https://profiles.wordpress.org/tommybordas/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/auto-discounts-for-woocommerce/)