| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Bestsellers Into 2 Columns? | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#11
|
|||||||
|
|||||||
|
So this is something I have not had to do before, and I'm pretty lost as to where the array value would be added.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
|
#12
|
|||||||||
|
|||||||||
|
bestsellers.php in modules/bestsellers
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#13
|
|||||||
|
|||||||
|
Steve, yes I know where it is. I don't get the part about adding categories to the array.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
|
#14
|
|||||||||
|
|||||||||
|
You have to query each product from the bestsellers array, get its category id from products_categories table and save it in that product array inside the bestsellers array
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#15
|
|||||||
|
|||||||
|
Steve,
Yeah I figured that much, but I have no idea how to do that. I understand how to query tables in PHP, but not how to make this tpl stuff add something to an array.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
|
#16
|
|||||||||
|
|||||||||
|
The bestsellers array is already there in the php script, you need to get the info from the query to a variable in that array, this is not related to template files
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#17
|
|||||||
|
|||||||
|
need free template
|
|||||||
|
#18
|
|||||||||
|
|||||||||
|
Quote:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||