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

Extra Fields layout question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-12-2010, 05:11 PM
 
inteliboy1 inteliboy1 is offline
 

Member
  
Join Date: Jun 2010
Posts: 27
 

Default Extra Fields layout question

Sorry if this is super basic, tried searching the forums though can't find an answer---


Need an if statement to take a particular Extra Field and display it on the product page. Just so I can move them around the layout individual from each other, rather then one big extra-field div.

ie --- Extra Field COLOURS up top above the description.
--- Extra Field LOCATION moved down to the bottom.
__________________
X-Cart Pro
4.4
Reply With Quote
  #2  
Old 08-12-2010, 05:24 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Extra Fields layout question

You can include loop through the extra fields variables and show only the one you need (see skin1/modules/Extra_Fields/product.tpl how it's done) or if you know exactly which one is it you can use similar to this

{$extra_fields[x].field_value} - replace x with the number of the field you need in the array
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-15-2010, 10:32 PM
 
inteliboy1 inteliboy1 is offline
 

Member
  
Join Date: Jun 2010
Posts: 27
 

Default Re: Extra Fields layout question

thanks heaps will look into it!
__________________
X-Cart Pro
4.4
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 11:01 AM.

   

 
X-Cart forums © 2001-2020