kkarpieszuk / wc-price-history

Track Woocommerce Products prices history and display the lowest price in the last 30 days. This plugin allows your WC shop to be compliant with European Commision Directive 98/6/EC Article 6a which specyfies price reduction annoucment policy.
MIT License
6 stars 4 forks source link

Add WordPress filter for the lowest price #46

Closed krzysztof-branka closed 1 year ago

krzysztof-branka commented 1 year ago

Hi,

First of all, thank you for this amazing plugin.

This PR adds WordPress filter for the lowest price allowing to alter it just before showing. For example, this alows converting the lowest price to the currently selected currency, when using mulitcurency plugin.

kkarpieszuk commented 1 year ago

Hi, thanks for this idea. I opened separate PR with a bit adjusted filter (different name), documented and applied also when price is displayed from shortcode. Please see here #47 if it fits you.

krzysztof-branka commented 1 year ago

Perfect, thank you!

kkarpieszuk commented 1 year ago

hi there, a new version 1.7.1 has been released with that filter