| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Products Per Page dropdown - How to customise? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Products Per Page dropdown - How to customise?
Does anyone know how to customise the values within the "Products per Page" dropdown box?
As default the value set goes up in increments of 5 from 5 to 50. But i'd like to set it to increments of 3 from 3 to 30. Cant seem to see anything within the administration area to change this. Any Ideas? Thanks Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Products Per Page dropdown - How to customise?
Start here
/skin/common_files/customer/main/per_page.tpl the php script sets the values - $per_page_values
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: Products Per Page dropdown - How to customise?
Nice one Steve ... found it in include/search.php
Thanks a lot
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#4
|
|||||||
|
|||||||
Re: Products Per Page dropdown - How to customise?
Awesome. This was very helpful. Worked like a charm. FYI:
open include/search.php and search for per_page_values There you can change the multiples and top number; eg default is multiples of 5 and top if 50. You can change to whatever you want. Thanks again for this info.
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5 Linux |
|||||||
#5
|
|||||||
|
|||||||
Re: Products Per Page dropdown - How to customise?
Anyone know of a way to add a "view all" option to the dropdown? Can't figure it out...
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Products Per Page dropdown - How to customise?
Here's the 5 minute way to do show all products per page:
include/search.php Find: Code:
Code:
skin/common_files/customer/main/per_page.tpl Find: Code:
Code:
Enjoy!
__________________
joshf | X-Cart Portfolio Currently: http://nightowlpapergoods.com | http://pinkolive.com |
|||||||||
#7
|
|||||||
|
|||||||
Re: Products Per Page dropdown - How to customise?
has this changed in 4.4.5? I cannot find $per_page_values. only #$perpagevalues in /admin/include/search.php, but it has no affect on prod per page list
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5 Linux |
|||||||
#8
|
|||||||
|
|||||||
Re: Products Per Page dropdown - How to customise?
Quote:
__________________
xcartmods.co.uk |
|||||||
|
|||
X-Cart forums © 2001-2020
|