| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Adding a extra field to product category view | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi,
Thanks for looking. I'm hoping this is simple to achieve, but I am trying to add the contents of an 'extra field' which i have setup in the admin to the product view (the view when the user clicks on a category and they get the products) but I'm not sure which file to edit and where to put the extrafield code. I also just want the content of the extra field, not its name displayed.. Is this possible? any help would be massively appreciated! the store is 4.3.2 also thanks
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
This may help - http://forum.x-cart.com/showthread.php?t=47812&highlight=extra+fields+on+p roducts+list
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
|
thanks i'll take a look!
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1 |
|||||||
|
#4
|
|||||||
|
|||||||
|
thanks for your reply cfl
no one seems to be having any luck with 4.3.2, you don't know of any other solutions for achieving this do you?
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1 |
|||||||
|
#5
|
|||||||
|
|||||||
|
i use the following in 4.3.2
{foreach from=$product.extra_fields item=v} {if $v.active eq "Y" && $v.value ne ""} {if $v.field eq "Swatch"} {$v.value} {/if}{/if} {/foreach} replace swatch with your extra fields name
__________________
X-cart - 4.3.2 loads of mods and custom code |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||