| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Arrrrggggh - Pulling my hair out! | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm trying to pull a customised version of modules/Extra_Fields/product.tpl.
Here is the code... Quote:
I am managing to call it in a customised version of skin1/customer/main/product.tpl without any hassle. The problem I do have is that when it calls it displays ALL extra fields and I only want it to display 1. Field name : RunningTime Field no. : 4 I have tried all sorts of configurations but I can't get it to work. Anybody know what I should be doing?
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#2
|
|||||||
|
|||||||
![]() I first tried calling this Field internally on the customer/main/product.tpl the same way I do on the product_t.tpl but for some reason when I add this to customer/main/product.tpl it generates syntax errors.
So that's why I'm using a modded modules/extra_fileds/product.tpl instead (in case you were wondering) ![]() This is the code I usually use which works a treat. Quote:
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#3
|
|||||||||
|
|||||||||
![]() If what you are trying to do is display the field/value of an extra field named "RunningTime" then do this:
Code:
|
|||||||||
#4
|
|||||||
|
|||||||
![]() Quote:
Word to tha muthaland! That worked a treat. Thanks Telafirma ![]()
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
|||
X-Cart forums © 2001-2020
|