Title: WC Price History &#8211; historia cen w WooCommerce
Author: kkarpieszuk
Published: <strong>2022-12-28</strong>
Last modified: 2026-10-30

---

Szukaj wtyczek

![](https://ps.w.org/wc-price-history/assets/banner-772x250.png?rev=3654312)

![](https://ps.w.org/wc-price-history/assets/icon-256x256.png?rev=3654312)

# WC Price History – historia cen w WooCommerce

 Autor: [kkarpieszuk](https://profiles.wordpress.org/kkarpieszuk/)

[Pobierz](https://downloads.wordpress.org/plugin/wc-price-history.3.2.9.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/wc-price-history/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/wc-price-history/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/wc-price-history/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/wc-price-history/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/wc-price-history/)

## Opis

[WC Price History](https://wcpricehistory.com) śledzi poprzednie ceny produktów 
WooCommerce i wyświetla najniższą cenę w ostatnich 30 dniach. Plugin ten sprawi,
że Twój sklep będzie spełniał wymogi prawne Unii Europejskiej odnośnie transparentności
historii cen.

### Usage

Wtyczka działa od ręki: zainstaluj i aktywuj, a Twoje przecenione produkty będą 
zgodne z dyrektywą Omnibus!

Plugin is configurable via `WooCommerce` > `Price History` screen. You can configure:

↪ Where to display the price history information: » on the single product page »
upsell and related products » main shop page » product category pages » product 
tag pages ↪ When to display minimal price (always or only when the product is on
sale) ↪ How to count minimal price (the minimal from the moment product went on 
sale to 30 days before that moment or the minimal price from today to 30 days ago)
↪ How many days take into account when calculating minimal price (30 days by default)
↪ How to display the price history information ↪ What to do if the price didn’t 
change in the last N days (hide price information / display current price / display
custom text)

At the configuration screen you will find additional information how to configure
the plugin to be compliant with Omnibus directive (European Commission Directive
98/6/EC Article 6a) and link to legal acts.

## Zrzuty ekranu

[⌊Lowest price information displayed on single product page.⌉⌊Lowest price information
displayed on single product page.⌉[

Lowest price information displayed on single product page.

[⌊WC Price History - historia cen w WooCommerce configured according to Omnibus 
directive.⌉⌊WC Price History - historia cen w WooCommerce configured according to
Omnibus directive.⌉[

WC Price History – historia cen w WooCommerce configured according to Omnibus directive.

## Instalacja

 * Unzip the directory in `wp-content/plugins`
 * Go to `wp-admin` > `Plugins` and activate the plugin

## Najczęściej zadawane pytania

### Co to jest dyrektywa Omnibus?

Dykretywa komisji europejskiej 98/6/EC, artykuł 6a – w skrócie regulacje Omnibus–
określają zasady na jakich należy informować o polityce obniżek cen.

Nie musisz właściwie nic robić, domyślne ustawienia wtyczki są zgodne z dyrektywą
Omnibus!

Jeśli jednak zmieniłeś konfigurację wtyczki z domyślnej, oto kroki jakie powinieneś
zrobić, by sklep był znów zgodny (zwróć uwagę, że podobne podpowiedzi znajdziesz
na ekranie konfiguracji wtyczki):

 1. Go to `WooCommerce` > `Price History` screen
 2. Set `Display on` to `Single product page`
 3. Set `Display minimal price` to `Only when product is on sale`
 4. Set `Count minimal price from` to `Day before product went on sale`
 5. Set `Number of days to use when counting minimal price:` to `30 days`
 6. For each product being on sale, go to its edit screen and set `Sale price dates
    from` to the date when the product went on sale.

### Czy wtyczka działa dobrze z produktami z wariantami?

Wtyczka działa prawidłowo z podatkami i produktami z wariantami (śledzi i wyświetla
minimalne ceny osobno dla każdego wariantu)

### Czy wtyczka działa dobrze z dodatkami do tworzenia zniżek?

To niestety zależy od wtyczki. Niektóre działają, niektóre nie. Na tę chwilę mam
potwierdzenie, że poniższy dodatek bardzo dobrze działa z WC price History for Omnibus:

https://wordpress.org/plugins/woo-discount-rules/

Mam potwierdzenie, że ten dodatek działa dobrze z moją wtyczką. Jeśli znasz inne
pluginy, które współpracują z WC Price History, daj mi znać na forum! Dodam je do
listy.

### Czy mogę wyświetlić minimalną cenę za pomocą shortcode?

If you want to display the lowest products price in other place than default, you
can use shortcode `wc_price_history`. A few examples:

Display the lowest price on single product page (without passing product ID as argument),
currency symbol attached:
 `This product low is [wc_price_history]`

Display the lowest price of the other product, currency symbol attached:
 `The product
with ID 3 had the lowest price [wc_price_history id=3]`

Display without currency symbol:
 `The product with ID 3 had the lowest price [wc_price_history
id=3 show_currency=0]`

### Jakich filtrów i akcji mogę użyć, by wpłynąć na logikę działania WC Price History?

Dostępne filtry:
 wc_price_history_is_correct_place (zdefiniowany w `PriorPrice\
Prices::is_correct_place`) Umożliwia wyświetlanie historii cen na niestandardowych
ekranach, które nie są wymienione w ustawieniach wtyczki. Zwróć wartość true, aby
wyświetlić historię cen.

    ```
    wc_price_history_is_not_correct_when (defined in `PriorPrice\Prices::is_not_correct_when`)
    ```

Pozwala zatrzymać wyświetlanie historii cen dla własnych niestandardowych warunków.
Zwróć true, aby zapobiec wyświetlaniu historii cen.

### For some products being on sale, plugin shows minimal price from current day, why?

This is because you have not set `Sale price dates from` for these products. Go 
to the product edit screen and set `Sale price dates from` to the date when the 
product went on sale.

Tip: All the products which are On sale but does not have `Sale price dates from`
set will be logged to WooCommerce logs. Go to `WooCommerce` > `Status` > `Logs` 
to see the list of products (in right top corner preselect log which name starts
with wc-price-history).

### Czy mogę dostosować minimalną cenę przed jej wyświetleniem?

Tak, możesz użyć tego filtra: `wc_price_history_lowest_price_html_raw_value_taxed`:

    ```
    `
    ```

add_filter( 'wc_price_history_lowest_price_html_raw_value_taxed’, function( $price,
$wc_product ) {
 // zrób operacje zmieniające $price return $price; }, 10, 2 ); `

### Czy da się skasować historię cen?

Tak, na ekranie konfiguracji wtyczki kliknij przycisk „Wyczyść historię”. To usunie
całą historię cen z wszystkich produktów. Upewnij się, że wiesz co chcesz zrobić(
generalnie, użyj tej opcji tylko jeśli chcesz usunąć plugin tak by nie zostawił 
po sobie „śmieci” w bazie).

### I have a problem with the plugin, or I want to suggest a feature. Where can do this?

Please submit the [GitHub issue](https://github.com/kkarpieszuk/wc-price-history/issues).

### I like your work, are you available for hire?

Yes, I am available for hire. Please contact me at [LinkedIn](https://linkedin.com/in/konrad-karpieszuk-38528b11/).

## Recenzje

![](https://secure.gravatar.com/avatar/6d7616c0b4c9dde076ce99c3dd4c5d36b7a522d1f7a129957de2c35b3d33a976?
s=60&d=retro&r=g)

### 󠀁[Perfect minimal plugin without bloat](https://wordpress.org/support/topic/perfect-minimal-plugin-without-bloat/)󠁿

 [Paul Bystrzan](https://profiles.wordpress.org/inkm/) 2026-09-29 1 odpowiedź

I'm happy to say it's a plugin without bloat that meets legal requirements while
doesn't even need to be updated so often – so clean and good code. I also love this
plugin was made by WordPress Contributor in Poland. Thank you Konrad!

![](https://secure.gravatar.com/avatar/941281baab2184f8a644ae67f3e1155d090d6e5d9615069cf5d1aed7bddb2025?
s=60&d=retro&r=g)

### 󠀁[Super](https://wordpress.org/support/topic/extra-78/)󠁿

 [andrzejpokrywka](https://profiles.wordpress.org/andrzejpokrywka/) 2026-08-13

Bardzo dobry plugin.

![](https://secure.gravatar.com/avatar/81a830fbc6d904d748345a5bc1e408eced8611d2710ae86ff23c7b15133e1112?
s=60&d=retro&r=g)

### 󠀁[Great plugin, great contact](https://wordpress.org/support/topic/great-plugin-great-contact-2/)󠁿

 [pitreekk](https://profiles.wordpress.org/pitreekk/) 2026-06-29 1 odpowiedź

I highly recommend it—it's a great plugin!

![](https://secure.gravatar.com/avatar/d4932e8576071c4297250ddeef2ab50fc21d22af481d19a8758f2b2c0e5b22d7?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41369/)󠁿

 [siteimpulse](https://profiles.wordpress.org/siteimpulse/) 2026-03-19 1 odpowiedź

Simple, yet effective.

![](https://secure.gravatar.com/avatar/fbb4ea8c32bec8ac8a50c74409214c4ef596b40c4f5ee7ad467cb0b545812b0f?
s=60&d=retro&r=g)

### 󠀁[Great plugin, great author](https://wordpress.org/support/topic/great-plugin-great-author-18/)󠁿

 [woooooky](https://profiles.wordpress.org/woooooky/) 2026-02-13 1 odpowiedź

Even if something isn’t working properly with the plugin, report it to the author.
In my case, there were a few minor issues (due to WordPress updates and functionality
changes), but when I contacted the author, he resolved all of them quickly and with
great attention to detail. Now everything in my shop works perfectly. I truly recommend
both the plugin itself and the author’s level of customer service.

![](https://secure.gravatar.com/avatar/fb25b0187d057a0c6aa361180156ba9fce66ed1058886d252f18f847a02ad3e0?
s=60&d=retro&r=g)

### 󠀁[brak kluczowej funkcjonalności](https://wordpress.org/support/topic/brak-kluczowej-funkcjonalnosci/)󠁿

 [jerri69](https://profiles.wordpress.org/jerri69/) 2026-01-29 3 odpowiedzi

Plugin byłby idealny – lekki, nie robi śmietnika w bazie, ale jednak bezużyteczny
do dużych sklepów. W przypadku hurtowej zmiany cen promocyjnych (np. przy pomocy
WP Sheet Editor) nie zauważa zmiany i cena którą wpisujemy zapisuje się jako ta 
ostatnia… szkoda

 [ Przeczytaj 27 recenzji ](https://wordpress.org/support/plugin/wc-price-history/reviews/)

## Kontrybutorzy i deweloperzy

„WC Price History – historia cen w WooCommerce” jest oprogramowaniem open source.
Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ kkarpieszuk ](https://profiles.wordpress.org/kkarpieszuk/)

Wtyczka „WC Price History – historia cen w WooCommerce” została przetłumaczona na
2 języki. Podziękuj [tłumaczom](https://translate.wordpress.org/projects/wp-plugins/wc-price-history/contributors)
za ich wkład.

[Przetłumacz wtyczkę “WC Price History – historia cen w WooCommerce” na swój język.](https://translate.wordpress.org/projects/wp-plugins/wc-price-history)

### Interesuje cię rozwój wtyczki?

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

## Rejestr zmian

#### 3.2.9

 * Fix: Price history updates no longer drop subsequent products in the same request.
   Replaced request-wide `remove_action` on `woocommerce_update_product` with a 
   per-product recursion guard released in `finally`, so a draft (or other early
   return) no longer disables history for later products. (#226)

#### 3.2.8

 * Fix: Lowest price in the last N days (database tables and legacy storage) now
   includes the last known price before the window (carry-forward), so a recent 
   price increase no longer hides the earlier lower price that was still in effect
   during most of the period. (#222)
 * Enhancement: Warn on the product edit screen (classic and WooCommerce block/React
   product editor, including SPA navigation) and products list when sale-start Omnibus
   counting is enabled but a product on sale has no scheduled sale start date — 
   including variable products where only some on-sale variations lack a start date.(#
   130)

#### 3.2.7

 * Fix: Variable products with sale dates on variations no longer show the promotional
   price as the Omnibus lowest on the parent, shop/category listings, or shortcode
   when counting from sale start. (#204, #125)

#### 3.2.6

 * Fix: When counting from sale start, an empty 30-day pre-sale window now uses 
   the last known price before the window (carry-forward) instead of the global 
   minimum from all older history. (#213)

#### 3.2.4

 * Enhancement: Optional WooCommerce REST API fields `wc_price_history.lowest` and`
   wc_price_history.history` (settings under WooCommerce  Price History, off by 
   default). (#202)
 * Enhancement: More data in exported JSON file (#195)
 * Fix: When counting from sale start, if the configured period before the sale 
   has no history entries (e.g. no product edits for a long time), use the lowest
   price from older history still before the sale start. (#208)
 * Compatibility: Added compatibility with WooCommerce Product Bundles plugin: if
   bundled products are priced individually, it was not taken into account when 
   stored Bundle Product in history. Requires WC Price History Pro 1.0.1 or later.(#
   145)

#### 3.2.3

 * Fix: „Day before product went on sale” – lowest price now excludes sale start
   moment (was showing promotional price). (#192)

#### 3.2.2

 * Fix: Custom DB tables – when saving the first price for a product, save it for
   the current moment and for 24h and 48h earlier so „lowest price in 30 days” has
   data from day one. Use NULL for sale_price when not set (not 0). (#188)
 * Pro: Promotional widget for Pro version. (#190)

#### 3.2.1

 * Fix: Shortcode [wc_price_history] now respects the „defer lowest price” setting
   for variable products: shows placeholder until a variant is selected instead 
   of the lowest price across all variations. (#185)

#### 3.2.0

 * Fix: Lowest price (30-day low) now displays on a new line in themes that use 
   flex/inline price layout (e.g. Twenty Twenty-Five). (#183)
 * Enhancement: Added option to defer displaying lowest price for variable products
   until a variant is selected. (#185)

#### 3.1.0

 * Fix: The lowest product variant prices were not displayed if product page was
   displayed with Gutenberg Blocks (#181)

#### 3.0.1

 * Show more detailed plugin status report (#174)

#### 3.0.0

 * Database Migration: Price History moved from Post Meta to Custom Tables for better
   performance. See https://wcpricehistory.com/tuorials-howtos/docs/migration-to-
   database-tables-in-3-0/?utm_source=readme&utm_medium=changelog&utm_campaign=wc-
   price-history (#98)
 * New: Minimal price displayed with shortcode is now updated when product variant
   is changed. (#169)

#### 2.2.2

 * New: Added filter `wc_price_history_variations_add_history_lowest_price` to filter
   the lowest price for variations. (#167)

#### 2.2.1

 * Promo: Hire Me Section (#165)

#### 2.2.0

 * Fix: Plugin sometimes displayed „lowest price: 0” after 30 days when price history
   became empty due to time filtering. ( #159 )
 * Fix: Variable products: when product had related products their prices where 
   concatenated in the price output. (#161)

#### 2.1.9

 * Fix: Variable products: when user select variant, the main price was reset sometimes
   to zero. (#154)

#### 2.1.8

 * Improvement: First history scan now targets products more precisely (#148)
 * New: If the first scan gets stuck in a never-ending state, it is now possible
   to force its termination from the settings screen (#148)

#### 2.1.7

 * New: Added action to add custom fields to settings page. (#137)
 * New: Added filter for the lowest price HTML before displaying it. (#139)
 * New: Added filter for the display text from template. (#139)
 * Fixed: Prices displayed with shortcode were not possible to filter to remove 
   decimals. (#141)

#### 2.1.6

 * Maintenance: Prepare for replacement of Freemius with Keygen. (#135)

#### 2.1.5

 * Maintenance: Updated content displayed on plugin page in WordPress repository.(#
   128)
 * Maintenance: Plugin passes now Plugin Check Plugin tests. (#133)
 * Reverted: Removed import feature. (#131)

#### 2.1.4

 * Maintenance: Added PHPStan rule to check if classes with register_hooks() method
   is instantiated only in PriorPrice\Hooks::plugins_loaded() method. (#116)

#### 2.1.3

 * Fixed: Plugin was not available on mutlisite installations. (#100)
 * Fixed: Saved variable products sometimes had lowest price set to zero. (#111)
 * New: Added debug feature to export product with price history to JSON file and
   import it back. (#109)
 * Maintenance: Added build script to automate plugin release process. (#103)
 * Maintenance: Fixed unit tests. (#113)

#### 2.1.1

 * Fixed: Reverted change #89 from 2.1
 * Fixed: Price selection for sale start was comparing saved historicial timestamps
   in GMT0 with timestamp of the sale start with local offset (#96)

#### 2.1

 * New: Additional public methods for external integrations. (#91)
 * Fixed: Price from sale start was incorrectly included into history checking if
   product was on sale for at least one day (#89)
 * New: Freemius integration. (#94)
 * Fixed: Displayed price history was not updated on product screen when variant
   selection was changed (#79)

#### 2.0.0

 * New: Plugin scans all product to start logging price history before any interaction
   with the product. (#84)
 * New: Plugin allows to clean the whole pricing history (#87)
 * New: Plugin allows to extend history by adding prices one day before the oldets
   one (#87)
 * Fixed: Some users had incorrectly recognized first product price change, showing
   a new price always as lowest one (#80)

#### 1.9.0

 * New: Allow to decide what to display in case there was no price change in the
   tracked history span. (#77)

#### 1.8.0

 * New: Basic compatibility with dynamic pricing plugins.
 * New: Displayed HTML is translatable with WPML and Polylang.
 * Hooks: Added filter `wc_price_history_is_correct_place` to make it possible to
   display price history info in custom location.
 * Hooks: Added filter `wc_price_history_is_not_correct_when` to stop displaying
   price history for your own conditions.
 * Fixed: Duplicated product had price history starting from original product last
   price.
 * Improvement: Do not store prices saved while product had status draft.

#### 1.7.4

 * Improvement: Start saving the price before change with timestamps for last midnight
   and for 1 second ago. (#58)
 * Improvement: Clean history from empty values before save.
 * Fixed: Do not copy product price history when duplicating product. (#50)

#### 1.7.3

 * Fixed: When price displayed with shortcode, it was not respecting sale settings
   and it resulted in showing the current price.

#### 1.7.2

 * Fixed: When price displayed with shortcode, and it was zero, it should not be
   displayed.

#### 1.7.1

 * Added filter to modify the minimal price before it is displayed

#### 1.7

 * Added option to include sale price when counting minimal price (#41)
 * Added option to display line through over minimal price (#42)

#### 1.6.6

 * Fixed: Placeholder %s was displayed instead of the lowest price after plugin 
   update. (#39)
 * Improvement: Rearranged the plugin option’s page.
 * Improvement: Added settings link to plugins page.

#### 1.6.5

 * Fix: Wrong number of decimals in price history information when displayed with
   shortcode (#36)

#### 1.6.4

 * Optimization: moved class loading to plugins_loaded hook

#### 1.6.3

 * Fix: Fixed fatal error.

#### 1.6.2

 * Fix: Taxes not applied to the price when displayed with shortcode (#34).

#### 1.6.1

 * Fixed issue with timezones offsets when saving history

#### 1.6

 * Added toggle to display minimal price for related/upsell products on the single
   product page

#### 1.5

 * Fixed problem that product had to be at least once manually saved to start tracking
   the history
 * Added ability to decide if minimal price should be displayed on product category
   pages and product tag pages

#### 1.4

 * Handled variable products
 * Handled product taxes
 * Settings screen: count minimal price is not hidden now and label is adjusted 
   to explain it applies only for products being on sale
 * Handled case when WooCommerce plugin is not active
 * Optimized minimal price calculation class

#### 1.3

 * New: „30-day low” text is configurable now on Settings screen
 * Updated documentation and hint texts for better plugin usability

#### 1.2

 * Added wc_price_history shortcode support
 * Added settings screen
 * Added ability to define where the price history should be displayed
 * Added ability to define how many days should be considered when calculating the
   lowest price
 * Added ability to define if the price history should be displayed only for products
   with price reduction
 * Added ability to define if minimal price count should start from current day 
   or the first day of the sale
 * Link to European Commission Directive 98/6/EC Article 6a added to plugin settings
   screen
 * Added logging products which are on sale but do not have sale start date set

#### 1.1

 * Plugin rewritten to store prices log in custom fields instead of post revisions
 * Added migration logic between revisions and custom fields

#### 1.0

 * Initial release.

## Wtyczka płatna

Wtyczka jest bezpłatna, ale oferuje dodatkowe płatne aktualizacje lub wsparcie. 
[Zobacz pomoc techniczną](https://wcpricehistory.com/)

## Meta

 *  Wersja **3.2.9**
 *  Ostatnia aktualizacja **1 tydzień temu**
 *  Włączone instalacje **5,000+**
 *  Wersja WordPressa ** 5.8 lub nowszej **
 *  Testowano do **7.1.4**
 *  Wersja PHP ** 7.2 lub nowszej **
 *  Języki
 * [English (US)](https://wordpress.org/plugins/wc-price-history/), [Hungarian](https://hu.wordpress.org/plugins/wc-price-history/),
   i [Polish](https://pl.wordpress.org/plugins/wc-price-history/).
 *  [Przetłumacz na swój język](https://translate.wordpress.org/projects/wp-plugins/wc-price-history)
 * Tagi
 * [history](https://pl.wordpress.org/plugins/tags/history/)[omnibus](https://pl.wordpress.org/plugins/tags/omnibus/)
   [prices](https://pl.wordpress.org/plugins/tags/prices/)[woocommerce](https://pl.wordpress.org/plugins/tags/woocommerce/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/wc-price-history/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  27 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/wc-price-history/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/wc-price-history/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/wc-price-history/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/wc-price-history/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/wc-price-history/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/wc-price-history/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/wc-price-history/reviews/)

## Zaangażowani

 *   [ kkarpieszuk ](https://profiles.wordpress.org/kkarpieszuk/)

## Wsparcie

Zagadnienia rozwiązane w przeciągu ostatnich dwóch miesięcy:

     0 z 2

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/wc-price-history/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://buycoffee.to/wpzlecenia)