X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding a extra field to product category view (https://forum.x-cart.com/showthread.php?t=60594)

obaluba2 08-19-2011 04:36 AM

Adding a extra field to product category view
 
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! :D

the store is 4.3.2 also

thanks

cflsystems 08-19-2011 04:42 AM

Re: Adding a extra field to product category view
 
This may help - http://forum.x-cart.com/showthread.php?t=47812&highlight=extra+fields+on+p roducts+list

obaluba2 08-19-2011 04:54 AM

Re: Adding a extra field to product category view
 
thanks i'll take a look!

obaluba2 08-22-2011 01:54 PM

Re: Adding a extra field to product category view
 
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?

7thdesire 08-24-2011 03:14 PM

Re: Adding a extra field to product category view
 
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


All times are GMT -8. The time now is 10:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.