| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
additional fields in "bestsellers" and "recently viewed" modules | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi friends!
We are in the process of customizing version 4.4.2 to eventually replace our version 3.4.8 We have added custom fields to the products table without using the extra fields feature. I am wondering if anyone has any ideas about how to display such fields in bestseller and recently viewed modules. Thanks much!
__________________
X-Cart version 4.4.2 PHP 5.2.9 GD bundled (2.0.34 compatible) MySQL server 5.0.92-community Web server Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Operation system Linux Perl 5.008008 Net::SSLeay 1.36 CURL executable curl 7.15.5 OpenSSL executable OpenSSL X-Cart version 4.4.2 PHP 5.2.9 MySQL server 5.0.92 Web server Apache/2.0.63 Perl 5.008008 Net::SSLeay 1.36 CURL executable curl 7.15.5 OpenSSL executable OpenSSL |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If they are in the products table most likely they will be included in products array by default. Just call them by their name - $product.field
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
![]() If only it were that simple.
The bestsellers are in an array called $b, if I remember correctly. We just haven't yet figured out where this array is created.
__________________
X-Cart version 4.4.2 PHP 5.2.9 GD bundled (2.0.34 compatible) MySQL server 5.0.92-community Web server Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Operation system Linux Perl 5.008008 Net::SSLeay 1.36 CURL executable curl 7.15.5 OpenSSL executable OpenSSL X-Cart version 4.4.2 PHP 5.2.9 MySQL server 5.0.92 Web server Apache/2.0.63 Perl 5.008008 Net::SSLeay 1.36 CURL executable curl 7.15.5 OpenSSL executable OpenSSL |
|||||||
#4
|
|||||||||
|
|||||||||
![]() I seriously doubt there is array called $b in stock XC.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Looks like the foreach item in menu_bestsellers.tpl is $b but the array (from=) is $bestsellers. This is created in modules/Bestsellers/bestsellers.php.
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|