Omnibus

  • Posts: 36
  • Thank you received: 5
  • Hikashop Business
1 year 10 months ago #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?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 10 months ago #347973

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
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 & comment system in HikaShop also has an option to allow votes & 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/ ) 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 or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 5
  • Hikashop Business
1 year 10 months ago #348004

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 or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 10 months ago #348050

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 or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 5
  • Hikashop Business
1 year 10 months ago #348096

That will be really great. Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 317
  • Thank you received: 17
  • Hikashop Business
1 year 10 months ago #348443

Is any timeline for this plugin?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 10 months ago #348463

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 or Create an account to join the conversation.

  • Posts: 317
  • Thank you received: 17
  • Hikashop Business
1 year 10 months ago #348467

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

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 10 months ago #348469

It will be a separate plugin.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #348702

Hi,

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

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
1 year 9 months ago #349364

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 :(

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #349368

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:
$data->prices = $this->_getProductPrices($product->product_id);
to:
$data->prices = hikashop_copy($product->prices);
in the file plugins/hikashop/price_history/price_history_class.php
That way, it will take into account discounted prices.

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
1 year 9 months ago #349383

Hi,
thanks, it works :)
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 :(


Tomek

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #349391

Hi,

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

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
1 year 9 months ago #349396

Perfect - thanks!
Tomek

Please Log in or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
1 year 9 months ago #349484

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

How to do it?

Please Log in or Create an account to join the conversation.

  • Posts: 317
  • Thank you received: 17
  • Hikashop Business
1 year 9 months ago #349489

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 or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
1 year 9 months ago #349494

The key word is "price before discount"
E.G. www.mediaexpert.pl/agd-male/ekspresy-i-k...ra-j8-piano-black-ea

Last edit: 1 year 9 months ago by StudioPrzyLesie.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #349490

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 or Create an account to join the conversation.

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
1 year 8 months ago #349508

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 :( The database will collapse with a few thousand products :( 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: 1 year 8 months ago by StudioPrzyLesie.

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum