| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Adding Extra Fields to product list page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Can anyone tell me why I cant add the extra fields code to products_t.tpl
{if $active_modules.Extra_Fields ne ""} {include file="modules/Extra_Fields/product.tpl"} {/if} The code works fine in product.tpl. I checked the if statement and it works. In the "modules/Extra_Fields/product.tpl" template there doesnt seem to be any fields required to make this work. Any ideas would be greatly appreciated! -dpm
__________________
x-cart-4.1.8gold |
|||||||
|
#2
|
|||||||
|
|||||||
|
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Yikes... This has been an issue sicne 04... It's now 2008... One would think it would be standard by now... =/
__________________
x-cart-4.1.8gold |
|||||||
|
#4
|
|||||||
|
|||||||
|
I'll get you the code to make it work for you, I'm at work now and can't grab it atm.
__________________
4.1.9 |
|||||||
|
#5
|
|||||||
|
|||||||
|
Much appreciated!
-dpm
__________________
x-cart-4.1.8gold |
|||||||
|
#6
|
|||||||
|
|||||||
|
in products.php
After: PHP Code:
PHP Code:
This is an example of what I use in skin1/customer/main/products.tpl or products_t.tpl (Whichever you use) after the product description PHP Code:
__________________
4.1.9 |
|||||||
|
#7
|
|||||||
|
|||||||
|
Thanks mate! Works perfectly.
-dpm
__________________
x-cart-4.1.8gold |
|||||||
|
#8
|
|||||||
|
|||||||
|
Will this work in the cart.tpl?
|
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||