• Hello, I have a problem with the free version of the Ajax Filter plugin. On the “archive product” page, or more precisely on the / tag-product / page, I add product filters. The problem is that after filtering the products it sends to the “shop-page” with the filtering results. Is it possible to filter products on the tags page the same as on the product category page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    could you send us a URL where we can check the problem, please?

    Let us know.

    Have a nice day!

    Thread Starter rajek212

    (@rajek212)

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    hope you are doing well! ??

    Please, try to add this custom code to the functions.php of your active theme:

    if( ! function_exists( 'yith_wcan_content_selector' ) ){
    	function yith_wcan_content_selector( $selector ){
    		$selector = '.et_pb_section.et_pb_section_1_tb_body.et_section_regular';
    		return $selector;
    	}
    	add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' );
    }

    Let us know if that did the trick.

    Have a nice day!

    Thread Starter rajek212

    (@rajek212)

    Hi,
    After entering the code, it does not take me to the ‘shop-page’, but unfortunately the products with the filter disappear.

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    Unfortunately, that is how WordPress manages the query and choose the current context, displaying the content of the category you selected, and is out of our reach to change this behaviour.

    So my advice is to add also the filters in the category page, so when filtering it will keep the filters.

    Have a great day.

    I’m having the same problem as you, every time I use the filter .URL get redirected to the shop page. How did you handle this problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘YITH Product Filter on Archive Page sends to shop page’ is closed to new replies.