Skip to content

Frequently Asked Questions

How long is the price history kept?

Price history is kept indefinitely. The module does not automatically delete old entries.

For calculating the lowest price, only entries from the last 30 days are used (Omnibus directive requirement).

Where can I find the price history of a product?
  1. Open the product details in the admin
  2. In the Product data section, select the Prices log tab
  3. A table with all entries will be displayed

For variable products, tables are displayed for each variation.

What does "lowest price in the last 30 days" mean?

It is the lowest price at which the product was offered in the last 30 days. This information is required by the Omnibus directive for discounted products.

The module calculates the lowest value from all entries in the 30-day period before the current date.

Why is the price history not being recorded?

History is recorded only when:

  1. Price changes - if the price is the same, a new entry will not be created
  2. Product is saved - changes via direct database access are not recorded

Check that the module is active and that you have actually changed and saved the price.

How to display the lowest price on the product page?

Option 1: Shortcode

[wpify_woo_lowest_price]

Option 2: Prices module

  1. Activate the Prices module
  2. Add a custom price with type “Lowest price in 30 days”
  3. Set the condition “If product is in sale”
Does the module work with variable products?

Yes. The module records price history for each variation separately.

In the “Prices log” tab, tables are displayed for all product variants.

Can I delete the price history?

There is no direct interface for deleting history. To delete data, use direct database access:

-- Delete history for a specific product
DELETE FROM wp_wpify_woo_prices_log
WHERE product_id = 123;
Is zero price also recorded?

Yes, if you set the price to 0 and save the product, this entry will be saved in the history.

How does the module help with the Omnibus directive?

The Omnibus directive requires e-shops to display the lowest price in the last 30 days for discounted products.

The module:

  1. Records all product price changes
  2. Calculates the lowest price for the 30-day period
  3. Displays this information in the admin next to the price field
  4. Provides a shortcode and API for frontend display
Can I export the price history?

Direct export is not implemented in the module. To export data, you can use:

  1. Direct database access - table wp_wpify_woo_prices_log
  2. Custom code - using the repository class
$repository = wpify_woo_container()->get(
\WpifyWoo\Modules\PricesLog\PricesLogRepository::class
);
$logs = $repository->find_by_product_id( $product_id );