Viewing 2 replies - 1 through 2 (of 2 total)
  • I did a test on my own site and the on_sale=true query works for me. Screenshot:

    https://d.pr/i/6YFHAK/NDO3wOw24y

    I get 7 products when it’s in the query, and 68 when it is not.

    If this is not working for you, could it be the case that you simply have no products on sale at the moment?

    Also. could you please send me a copy of your site’s system status report? You can find it under WooCommerce > Status in the dashboard. Click “Get system report” and then the “Copy for support” button. Once you’ve done that, paste it into your reply.

    Thanks!

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get on sale products by woocommerce rest api ?’ is closed to new replies.