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

---

Cari plugin

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

# Auto Discounts for WooCommerce

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

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

 * [Detail](https://id.wordpress.org/plugins/auto-discounts-for-woocommerce/#description)
 * [Ulasan](https://id.wordpress.org/plugins/auto-discounts-for-woocommerce/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/auto-discounts-for-woocommerce/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/auto-discounts-for-woocommerce/#developers)

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

## Deskripsi

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.

## Tangkapan Layar

[⌊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

## Instalasi

 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

## Tanya Jawab

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

## Ulasan

Belum ada ulasan untuk plugin ini.

## Kontributor & Pengembang

“Auto Discounts for WooCommerce” adalah perangkat lunak open source. Berikut ini
mereka yang sudah berkontribusi pada plugin ini.

Kontributor

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

[Terjemahkan “Auto Discounts for WooCommerce” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/auto-discounts-for-woocommerce)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/auto-discounts-for-woocommerce/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/auto-discounts-for-woocommerce/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/auto-discounts-for-woocommerce/)
melalui [RSS](https://plugins.trac.wordpress.org/log/auto-discounts-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

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

 *  Versi **1.0.6**
 *  Diperbarui **3 minggu yang lalu**
 *  Instalasi Aktif **Kurang dari 10**
 *  Versi WordPress ** 5.0 atau yang terbaru **
 *  Diuji hingga **7.1.3**
 *  Versi PHP ** 7.2 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/auto-discounts-for-woocommerce/)
 * Tag
 * [automatic](https://id.wordpress.org/plugins/tags/automatic/)[discounts](https://id.wordpress.org/plugins/tags/discounts/)
   [pricing](https://id.wordpress.org/plugins/tags/pricing/)[woocommerce](https://id.wordpress.org/plugins/tags/woocommerce/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/auto-discounts-for-woocommerce/advanced/)

## Rating

No reviews have been submitted yet.

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

[Lihat semua ulasan](https://wordpress.org/support/plugin/auto-discounts-for-woocommerce/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

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