Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Filter Auto Scroll Rate Topic   - - - - -

 
  • raix022
  • Member
  • Members
  • Join Date: 18-Feb 14
  • 16 posts

Posted 01 July 2015 - 08:26 AM #1

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.

CS-Cart 4.2.4

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19976 posts

Posted 01 July 2015 - 09:15 AM #2

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.

CS-Cart 4.2.4


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
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Juri83
  • Newbie
  • Trial users
  • Join Date: 04-Aug 15
  • 5 posts

Posted 07 June 2017 - 08:58 AM #3

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

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

in function getProducts(url, obj)