Support » Plugin: Offers for WooCommerce » Enable/Disable Offers where Price is less/greater than ISSUE

  • Resolved Mikey

    (@mikeyhash)


    Hi,

    When bulk enabling/disabling offers for products where price is less/greater than, the considered “price” is the regular price, but shouldn’t it consider the sale price (if set)?

    Let’s say I have a product priced like this: $100 $75. Well, if I want to bulk disable offers for products where price is less than $90 for example, the mentioned product will still have offers enabled, because its regular price is $100.

    I think there should be added an if condition to the code in order to consider the sale price (if set), or simply to just consider the active price (which I think is get_price() ). I’ve tried to look into the code, but I couldn’t figure it out where to find the respective function (I’m a newbie in php).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Oliver

    (@angelleyesupport)

    Hi @mikeyhash ,

    Apologies for delay in getting back here, we are looking into this and will get back to you soon.

    Thanks!

    Oliver

    (@angelleyesupport)

    Hi @mikeyhash ,

    Based on what I have tested , its all working fine.

    I enabled offers for all the products, some of them had sale price set, others had regular price. Then I set disable offers where price is less than 20, the code disabled offers on 10 products which included all the process less than 20 . Among those 10 products 3 had regular price as 25 but sale price as 15 and the code checked the sale price and disabled.

    So based on that its all working fine.
    Did you tried it using our most recent offers update? If not, Please update to latest version and give it another shot. We will appreciate your feedback after that.

    Thanks!

    Hi Oliver,

    When I first run my tests, it was on localhost. However, given your response, I tried on a staging environment and it worked well. Can’t figure it out why it doesn’t work on localhost though.

    I will mark this as resolved.

    Thank you.

    Oliver

    (@angelleyesupport)

    I’m glad to hear things are working well for you now! As such, I am going to close this ticket now, but please feel free to respond here again or create a new ticket if you have any more questions or concerns.

    Also, we would love to know what you think of our product and customer support. If you have a moment to [ leave a review ] it would be greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.