| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Number per page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I'm tying to set a different value per page then the one you set in the options. which line of code would i change in the products_t.tpl file to set it to 3 for example?
Quote:
__________________
X-Cart Pro 4.3.2 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
{list2matrix assign="products_matrix" assign_width="cell_width" list=$products row_length=3}
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
|
what do i do to it?
__________________
X-Cart Pro 4.3.2 |
|||||||
|
#4
|
|||||||||
|
|||||||||
|
Sorry, are you trying to change the number of products per page or the number of products per line?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#5
|
|||||||
|
|||||||
|
per page.
__________________
X-Cart Pro 4.3.2 |
|||||||
|
#6
|
|||||||||
|
|||||||||
|
You can't do this from the template files. Products per page are passed to the template by the script. There is a thread in here how to get different number of products per page but involves php changes
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||