• Resolved Diogenes

    (@matador9)


    Hello.
    I have discounted products in my store using your plugin.
    I also use the WooCommerce offers filter in my sidebar, but it doesn’t show anything, as if there were no offers.
    Even if I use a filter plugin (like husky), to filter it by offers, it doesn’t show anything either.
    Is there any solution to this?
    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Support Emily Wilson

    (@emilywil)

    Hello @matador9

    Thank you for choosing our plugin.

    We apologize for the inconvenience.

    Maybe your filtering plugins are using the wc_get_product_ids_on_sale function to get onsale products and unfortunately, WooCommerce doesn’t have a filter for the function yet.

    If your filtering plugins have a filters then you can use the get_discounted_products method at the below file.

    wp-content\plugins\easy-woocommerce-discounts-pro\includes\class-wccs-products.php

    Code example:

    $discounted_products = WCCS()->products->get_discounted_products();

    You can contact your filtering plugins support for how to use it instead of wc_get_product_ids_on_sale

    Or you can consider to use the discounted products shortcode to show onsale products in a page. This shortcode is available in the pro version of the plugin.

    I hope it helps.

    Best Regards

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