[Skip to main content](#vessel-content)

#   Omnibus

##

- **[Bprak](/forum/user/34235-bprak "View Bprak's Profile")**
- [![Bprak's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34235-bprak "View Bprak's Profile") Topic Author
- [ Offline](/forum/user/34235-bprak)

Less More

- Posts: 45
- Thank you received: 7
-
-

3 years 9 months ago [\#347972](#347972) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#347972 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")* was created by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")*

-- HikaShop version -- : 4.7
-- Joomla version -- : 4.2.6
-- PHP version -- : 8.1

Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 9 months ago [\#347973](#347973) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#347973 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

Here is a simplified explanation of what the European Union Omnibus Directive is and what needs to be done to be compliant:
[ www.ey.com/en\_pl/law/omnibus-directive](https://www.ey.com/en_pl/law/omnibus-directive)
HikaShop's discount system already supports the display of the previous price and the discount amount/percentage. So as long as you configure your discounts properly in HikaShop, you'll be fine on that end.
The vote &amp; comment system in HikaShop also has an option to allow votes &amp; comments only from people who have purchased the products, so if that option is turned on in the HikaShop configuration, you'll be fine on that end.
There are already joomla extensions to comply with GDPR, and HikaShop already integrates with the Joomla privacy policy system to be compliant with GDPR. So provided your website is configured properly and your company applies the necessary rules for it (like providing the user data when asked), you'll be able to comply with it.

So basically, the tools to be compliant with that directive are already either in HikaShop, or Joomla, or other extensions ( like [ extensions.joomla.org/extension/gdpr/](https://extensions.joomla.org/extension/gdpr/) ) and we don't need to change anything in HikaShop for you to be able to build a compliant website with Joomla and HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Bprak](/forum/user/34235-bprak "View Bprak's Profile")**
- [![Bprak's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34235-bprak "View Bprak's Profile") Topic Author
- [ Offline](/forum/user/34235-bprak)

Less More

- Posts: 45
- Thank you received: 7
-
-

3 years 9 months ago [\#348004](#348004) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348004 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi, as far as I know, Omnibus says that the lowest price from the last 30 days is to appear with each product with a reduced price. So if the price was 130 EUR and then 110 EUR and then 150 EUR in the last few days, the store should show the price with the current discount, e.g. 115, but also the minimum price from the last 30 days, i.e. 110 EUR. So there should be some history of these prices for a given product to make it work automatically. It will be hard to control it manually because you would have to keep a separate register in Excel and control each price. Merely crossing out the price and giving it before the reduction will not meet these requirements.

It does not have to be related to the discount system because without the discount you can enter different prices and the store should have the lowest price from the last 30 days.

Do you know what I mean?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 9 months ago [\#348050](#348050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348050 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

I see what you mean. When you have the prices of your products change often and you have many products, it would indeed be difficult to manage discounts manually.
For such cases, to be compliant with the directive would require a plugin to be developed to automatically store the price changes in the database and then to add the extra information when necessary on the product details page.
We were actually thinking about developing a price history plugin for HikaShop. So adding that capability to it should be a nice addition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Bprak](/forum/user/34235-bprak "View Bprak's Profile")**
- [![Bprak's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34235-bprak "View Bprak's Profile") Topic Author
- [ Offline](/forum/user/34235-bprak)

Less More

- Posts: 45
- Thank you received: 7
-
-

3 years 9 months ago [\#348096](#348096) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348096 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

That will be really great. Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")**
- [![mojweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5128-mojweb "View mojweb's Profile")
- [ Offline](/forum/user/5128-mojweb)

Less More

- Posts: 431
- Thank you received: 22
-

3 years 9 months ago [\#348443](#348443) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348443 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Is any timeline for this plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 9 months ago [\#348463](#348463) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348463 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

We've moved forward with that plugin quite a bit. We've finished the design and implementation. We're currently starting the testing and debugging phase. So I hope we can have it ready soon.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")**
- [![mojweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5128-mojweb "View mojweb's Profile")
- [ Offline](/forum/user/5128-mojweb)

Less More

- Posts: 431
- Thank you received: 22
-

3 years 9 months ago [\#348467](#348467) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348467 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

If you need testing, just ring;)
Will this be part of install package or seperate plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 9 months ago [\#348469](#348469) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348469 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

It will be a separate plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 9 months ago [\#348702](#348702) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#348702 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

We just released the plugin:
[ www.hikashop.com/marketplace/product/143-price-history.html](https://www.hikashop.com/marketplace/product/143-price-history.html)
Feedback will be most welcome !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")**
- [![StudioPrzyLesie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")
- [ Offline](/forum/user/31654-studioprzylesie)

Less More

- Posts: 196
- Thank you received: 15
-
-

3 years 8 months ago [\#349364](#349364) by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")  Replied by *[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349364 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Good job,
Comments:
Works well for changing the price, when we edit the price in the product.
If we set a discount for a product using the discount function, then, for example, the base price is PLN 100, after a 10% discount, PLN 90, but it shows that the lowest price in the last 30 days is PLN 100, when it should show PLN 90.
Still not working here ![:(](/media/kunena/emoticons/22.png ":(")

- [ ![Zrzutekranu2023-02-17o12.56.41.png](/forum/attachment/56531) ](/forum/attachment/56531 "...7o12.56.41.png") [ ](/forum/attachment/56531?download=1 "...7o12.56.41.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 8 months ago [\#349368](#349368) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349368 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

Yes, that's what it says on the page of the plugin:

> Save public prices of the products (before reduction) and display prices in the product edit form in the backend

Change the line: Code:

$data-&gt;prices = $this-&gt;_getProductPrices($product-&gt;product_id);

to: Code:

$data-&gt;prices = hikashop_copy($product-&gt;prices);

in the file plugins/hikashop/price_history/price_history_class.php
That way, it will take into account discounted prices.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")**
- [![StudioPrzyLesie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")
- [ Offline](/forum/user/31654-studioprzylesie)

Less More

- Posts: 196
- Thank you received: 15
-
-

3 years 8 months ago [\#349383](#349383) by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")  Replied by *[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349383 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,
thanks, it works ![:)](/media/kunena/emoticons/3.png ":)")
Is it possible to introduce a function so that the price change message is displayed only for products with a price change in the last 30 days?
Now it shows on all products ![:(](/media/kunena/emoticons/22.png ":(")

Tomek

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 8 months ago [\#349391](#349391) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349391 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

Thanks for your feedback.
I've updated the plugin with that extra option:
[ www.hikashop.com/marketplace/product/143-price-history.html](https://www.hikashop.com/marketplace/product/143-price-history.html)
So update it and you'll get the extra option for this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")**
- [![StudioPrzyLesie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")
- [ Offline](/forum/user/31654-studioprzylesie)

Less More

- Posts: 196
- Thank you received: 15
-
-

3 years 8 months ago [\#349396](#349396) by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")  Replied by *[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349396 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Perfect - thanks!
Tomek

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")**
- [![StudioPrzyLesie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")
- [ Offline](/forum/user/31654-studioprzylesie)

Less More

- Posts: 196
- Thank you received: 15
-
-

3 years 8 months ago [\#349484](#349484) by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")  Replied by *[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349484 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hello,
the application of the additive in practice causes new requirements.

The rules say this:
1. Any notice of price reduction shall indicate the previous price applied by the economic operator for a specified period before the price reduction was applied.

2. The earlier price means the lowest price applied by the economic operator in the period, which cannot be less than 30 days before the price reduction is applied.

So, if a discount was applied, it should be reported that the lowest price before the discount was x.

So if we have a product with a price of EUR 10.
We apply a discount of 10% - we have a price of 9 EUR.
It is the lowest price information that should say that before the reduction, the price in the last 30 days was 10 EUR.

And from what I understand, if, for example, after 15 days we apply a 20% discount, we must inform you that before the reduction in the last 30 days the price was EUR 9 (and now EUR ![8)](/media/kunena/emoticons/9.png "8)").

How to do it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")**
- [![mojweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5128-mojweb "View mojweb's Profile")
- [ Offline](/forum/user/5128-mojweb)

Less More

- Posts: 431
- Thank you received: 22
-

3 years 8 months ago [\#349489](#349489) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349489 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

That is litle confusing.
So if we have a product with a price of EUR 10.
We apply a discount of 10% - we have a price of 9 EUR. After 1 day, what is the lower price in 30 days?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")**
- [![StudioPrzyLesie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")
- [ Offline](/forum/user/31654-studioprzylesie)

Less More

- Posts: 196
- Thank you received: 15
-
-

3 years 8 months ago -  3 years 8 months ago [\#349494](#349494) by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")  Replied by *[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349494 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

The key word is "price before discount"
E.G. [ www.mediaexpert.pl/agd-male/ekspresy-i-k...ra-j8-piano-black-ea](https://www.mediaexpert.pl/agd-male/ekspresy-i-kawa/ekspresy-cisnieniowe/ekspres-jura-j8-piano-black-ea)

Last edit: 3 years 8 months ago by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

3 years 8 months ago [\#349490](#349490) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349490 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Hi,

Thanks for the feedback @StudioPrzyLesie
I checked online and indeed came up to the same conclusion as you.
I've made a new version of the plugin with modifications so that the price displays as it is supposed to.

@mojweb
While the lowest price is 9€, the message added by the plugin needs to display the next lowest price if the current price is the lowest price.
However, if, 2 days later, you change the discount to 5%, the lowest price displayed will be 9€.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")**
- [![StudioPrzyLesie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")
- [ Offline](/forum/user/31654-studioprzylesie)

Less More

- Posts: 196
- Thank you received: 15
-
-

3 years 8 months ago -  3 years 8 months ago [\#349508](#349508) by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")  Replied by *[StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile")* on topic *[Omnibus](/forum/2-general-talk-about-hikashop/905639-omnibus#349508 "-- HikaShop version -- : 4.7 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1  Hi, recently the European Union Omnibus directive came into force, which assumes that the price from the last 30 days is to appear in the online store. Are you thinking about implementing such a function for others affected by the new law?")*

Nicolas,
strange situation.
I have two stores. Same setup. In one it works properly, and in the other it does not - that is, it displays the price after the reduction, not the lowest before the reduction.
What could be the reason?

update 1:
Sorry - a lot of combinations and probably that's why something didn't surprise. (e.g. I had no history days set). But it keeps saving the price history on every refresh ![:(](/media/kunena/emoticons/22.png ":(") The database will collapse with a few thousand products ![:(](/media/kunena/emoticons/22.png ":(") Is this normal?

update 2:
Another shop. Plugin uploaded for the first time. It shows the discounted price, not the last of the 30 days.
It saves the price history every time the page is refreshed.

Something is wrong - help.

Tom

Last edit: 3 years 8 months ago by [StudioPrzyLesie](/forum/user/31654-studioprzylesie "View StudioPrzyLesie's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwNTYzOS1vbW5pYnVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.128 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
