| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Extra Fields 4.2.x on Products_list.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Extra Fields 4.2.x on Products_list.tpl
Hi Guys,
I have searched the forum and looked at http://forum.x-cart.com/showthread.php?t=25143&highlight=extra+field in detail but I still can't get my extra fields to show in products_list.tpl I have made the following change to products.php: Code:
...and I have added the following code to products_list.tpl: Code:
The extra fields works fine on my product details page so I have used the same code in the products_list.tpl but I can't get the extra fields to appear. I would really appreciate some help on this.
__________________
X-Cart Version 4.3.1 Gold Firetank Featured Product and Feed Manager BCSE Product Importer Pro Apache version 2.2.11 (Unix) MySQL version 5.0.77-community PHP version 5.2.8 |
|||||||
#2
|
|||||||
|
|||||||
Re: Extra Fields 4.2.x on Products_list.tpl
Hi Ordorica, I had the same problem and QT helped me. Now it works. Anton Sologubov developed this mod. Here is the message:
================================================== ====== I've modified the following files to implement the modification you meant: * home.php * skin2/customer/main/products_list.tpl and looks that it works properly. ================================================== ====== Here I apply my modified files: home.php products_list.tpl I think is better to extract the needed code. I hope this will help you. Lyubomir Krivoshiev www.computer-expert.bg
__________________
X-cart V4.2.3 X-RMA X-magnifier BCSE Product importer ...and many others |
|||||||
|
#3
|
|||||||
|
|||||||
Re: Extra Fields 4.2.x on Products_list.tpl
Hi lkrivoshiev,
Thank you so much for your reply. With your help I have managed to achieve what I was attempting. My results are posted here for the benefit of others. In home.php I made the following changes. Added: Code:
before the line: if ($active_modules["Bestsellers"]) In products_list.tpl I added the following code to display the desired extra field data: Code:
the above code was added before the line: {if $product.appearance.buy_now_enabled} Thanks again, much appreciated.
__________________
X-Cart Version 4.3.1 Gold Firetank Featured Product and Feed Manager BCSE Product Importer Pro Apache version 2.2.11 (Unix) MySQL version 5.0.77-community PHP version 5.2.8 |
|||||||
#4
|
|||||||
|
|||||||
Re: Extra Fields 4.2.x on Products_list.tpl
Just wanted to add that I tried this and it's not working in 4.3.1.
Edit: Got it working now: http://forum.x-cart.com/showpost.php?p=287479&postcount=10
__________________
X-Cart Gold 4.3.1 Military Support Shop :: Army Wife Clothing, Military Support T-Shirts |
|||||||
|
|||
X-Cart forums © 2001-2020
|