Jump to content



Member Since 10 Feb 2014
Offline Last Active Sep 09 2019 11:11 AM

Topics I've Started

Product Filters Going Directly To Search.

11 December 2017 - 12:21 PM

Hi guys,


We recently moved to a new server and we noticed a problem with the product filters.


When using the filters in a category the user gets redirected to search results and all products corresponding to the selected filters are shown (regardless of category).


Example: http://motoarebarci....nti-yamaha.html(just play around with the filters)


I looked in horizontal_filters.tpl and i'm guessing the problem has something to do with:


{script src="js/tygh/product_filters.js"}
{if $block.type == "product_filters"}
    {$ajax_div_ids = "product_filters_*,products_search_*,category_products_*,product_features_*,breadcrumbs_*,currencies_*,languages_*,selected_filters_*"}
    {$curl = $config.current_url}
    {$curl = "products.search"|fn_url}
    {$ajax_div_ids = ""}
Any idea what the problem may be and how to fix it? Apart from some styling i made no modifications.