| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Display more featured products | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I just got the script and I started tweaking the templates etc. Everything was pretty smooth until this: I have set the products per page option to 9. This is fine, however, how do I show more than 9 products on the featured product page without having to click next? In short, I don't want the script to divide the $f_products array into 9s, I want the $f_products array to show continuously without being divided into pages. Any help is appreciated, Thanks.
__________________
X-cart GOLD v 4.0.18 |
|||||||
#2
|
|||||||
|
|||||||
![]() Featured products uses the same template as products, so if you want to display a different number of featured products you will need to create a duplicate of products.tpl or products_t.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hey Balinor,
It seems like in featured.tpl, if $total_pages is greater than 2 I will have my featured products indexed by a navigation. This makes me believe that my $f_products array is divided by the total number of products allowed. I'm not sure on the impact of this on the script, but do you know where the $total_pages variable is calculated? -- I think there's got to be an easier way to fix this without actually duplicating products_t.tpl perhaps placing some special conditions on $total_pages for $f_products?
__________________
X-cart GOLD v 4.0.18 |
|||||||
#4
|
|||||||
|
|||||||
![]() Hmm.. does anybody know where the $total_pages variable in featured.tpl is made?
Any help is appreciated -- Thanks
__________________
X-cart GOLD v 4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|