• Resolved bbbenji

    (@pandaweb)


    Can we please have an option to use the old get_price() instead of the new get_sale_price()?

    Right now, it’s showing me a previous lowest price of 0.00 z?.

    Also, would be cool to have an option to calculate the % of price difference. Perhaps return it as a variable %3$p or something.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Marcin Pietrzak

    (@iworks)

    @pandaweb

    Fixed in 2.0.1 – now plugin don’t show message for empty price.

    M

    Thread Starter bbbenji

    (@pandaweb)

    Cool, but I would still like to show the lowest price even if no discount has previously been applied within the last 30 days. So the lowest price would equal the current price.

    Plugin Author Marcin Pietrzak

    (@iworks)

    Cool, but I would still like to show the lowest price even if no discount has previously been applied within the last 30 days. So the lowest price would equal the current price.

    @pandaweb

    The Omnibus Directive is only for products on sale.

    This is a bit different approach than I want to have.

    Marcin

    Plugin Author Marcin Pietrzak

    (@iworks)

    But, I’ve checked. And I have to save regular price too. Because when we edit product without sale price and save it with new price and sale price – the we lost last price.

    Thread Starter bbbenji

    (@pandaweb)

    The Omnibus Directive is only for products on sale.

    @iworks

    Yes, I now am aware that the Omnibus directive states “sale price”, but I wanted to show the current price if there is no previous lower sale price to show that the current price IS the lowest price.

    Anyway, I appreciate your work regardless. Cheers

    • This reply was modified 1 year, 11 months ago by bbbenji.
    Plugin Author Marcin Pietrzak

    (@iworks)

    I added fallback, and version 2.0.2 saves get_price() if get_sale_price() returns an empty value.

    Marcin

    Thread Starter bbbenji

    (@pandaweb)

    Perfect, exactly what I was looking for. Thanks again!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Option to revert back to get_price()’ is closed to new replies.