Hi,
when I filtering products by brand it only works after page refresh. For example: Category: Tyres, Selecting Michelin from the filters products list refreshing itself, nothing changed until I refresh the whole page then it shows filtered products (only Michelin tyres).
Do you know where I can have a look to fix the issue, please?
I will appreciate any help.
it turn that there is a problem with ajax refreshing the results as the filtering product by price doesn't work properly too.
Any suggestions will be appreciated :)
Please share URL of your website. Usually such issues are caused by incorrect modifications of default templates
Please share URL of your website. Usually such issues are caused by incorrect modifications of default templates
https://www.marketplace.farm/
In the source code of category pages we see the following code in two lines
it should be
for corrected page update with ajax. Please contact your theme developer with this issue
In the source code of category pages we see the following code in two lines
it should be
for corrected page update with ajax. Please contact your theme developer with this issue
Thanks for your reply. Think is that in the template the comment is in the right place
{hook name="categories:view"}
{if $products}
{assign var=“layouts” value=“”|fn_get_products_views:false:0}
{if $category_data.product_columns}
{assign var=“product_columns” value=$category_data.product_columns}
{else}
{assign var=“product_columns” value=$settings.Appearance.columns_in_products_list}
{/if}
{if $layouts.$selected_layout.template}
{include file=“$layouts.$selected_layout.template
” columns=$product_columns}
{/if}
{elseif !$subcategories || $show_no_products_block}
{__("text_no_products")}
{else}
{/if}
{hook name=“categories:view_description”}
{if $category_data.description || $runtime.customization_mode.live_editor}
<div class=“ty-wysiwyg-content ty-mb-s” {live_edit name=“category:description:{$category_data.category_id}”}>{$category_data.description nofilter}
{/if}
{/hook}
{capture name=“mainbox_title”}<span {live_edit name=“category:category:{$category_data.category_id}”}>{$category_data.category}{/capture}
{/hook}
It can be overrided by 3rd party module
Problem solved guys. It was caused by the cache version of the website. Had to force clear cache and all start working fine.
Thanks for your help :)
Yes, the mentioned code is correct now
https://prnt.sc/10cmbuf