Support » Plugin: WOOF - Products Filter for WooCommerce » Similar products when empty results

  • Resolved xszejdi

    (@xszejdi)


    Hello!

    I hope You are well. Your plugin is great!
    As we know, empty results are the most common reason for a customer to leave a store. I would like to know how can i put similar products to the customer search when they are empty. I would like to display them under the message ‘no products found’. If that is impossible, what’s the hook of this place? in the default woocommerce search engine it is ‘woocommerce_no_products_found’.

    Best, Mateusz.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello Mateusz.

    So use this hook – ‘woocommerce_no_products_found’.

    keep in mind that this can cause an endless loop which will lead to a fatal error

    Thread Starter xszejdi

    (@xszejdi)

    Alright, thank You for help!

    Best, Mateusz.

    Thread Starter xszejdi

    (@xszejdi)

    You were right, i wanted to insert a shortcode from woocommerce products in the promotion there, the page shows error 500, do you know how I can fix it?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    The reason is that a search query without products invokes this template , and this template perceives this search query and also invokes this template. It causes an endless loop

    Unfortunately I do not have solutions

    Thread Starter xszejdi

    (@xszejdi)

    Hello @mediawebster!

    I fixed it, thank You for support!

    Best, Mateusz.

    Plugin Support mediawebster

    (@mediawebster)

    Hello
    Great! Welcome;)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Similar products when empty results’ is closed to new replies.