Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding a extra field to product category view

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-19-2011, 04:36 AM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default 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!

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
Reply With Quote
  #2  
Old 08-19-2011, 04:42 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-19-2011, 04:54 AM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default Re: Adding a extra field to product category view

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
Reply With Quote
  #4  
Old 08-22-2011, 01:54 PM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default 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?
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1
Reply With Quote
  #5  
Old 08-24-2011, 03:14 PM
 
7thdesire 7thdesire is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 115
 

Default 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
__________________
X-cart - 4.3.2 loads of mods and custom code
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020