Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #751661

    Hi,

    I found this thread here, which I am relating to:
    https://kriesi.at/support/topic/woocommerce-avia-product-slider-in-sale-filter

    I need the exact same thing, only this solution doesn’t work for me :(
    When I add this to my Child Theme’s function.php, either it messes up every WooCommerce Product Plugin (e.g. “Product List” or “Product Raster”) to only show on sale products (so the complete shop hides every product that’s not on sale) or it doesn’t work at all (2nd alternative)

    Could you eventually help me out here? How can I modify the code to set one specific slider (or every product slider, as I will only have the sliders for on sale purposes) to show the on sale products?

    Help would be much appreciated :)
    Thanks in advance,
    Patrick

    #754150

    Hi BierPlus!

    Thank you for using Enfold.

    Where is the slider that you’re trying to modify? You can add the is_page conditional function.

    // https://developer.wordpress.org/reference/functions/is_page/

    Regards,
    Ismael

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