Filter Auto Scroll

Hello,



Is there some way I can turn off filter auto scroll.



I mean, if I select something in filter, its scroll down for products - I need turn it off.



[color=#000000]CS-Cart [/color]4.2.4

[quote name='raix022' timestamp='1435739212' post='221174']

Hello,



Is there some way I can turn off filter auto scroll.



I mean, if I select something in filter, its scroll down for products - I need turn it off.



[color=#000000]CS-Cart [/color]4.2.4

[/quote]



In the following files:


  • design\themes\YOUR_THEME\templates\blocks\product_filters\original.tpl
  • design\themes\YOUR_THEME\templates\blocks\product_filters\components\product_filter_variants.tpl
  • design\themes\YOUR_THEME\templates\blocks\product_filters\components\variant_item.tpl



    please remove the following part of code:



data-ca-scroll=".cm-pagination-container"




Do not forget to clear cache then

For version CSCART 4.3.6 check also js/tygh/product_filters.js to

string scroll: '.ty-mainbox-title',

in function getProducts(url, obj)