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

put content of Extra Field into the <head> ?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-18-2011, 01:03 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: put content of Extra Field into the <head> ?

What didn't work? How did you determine if the extra field variables were/were not available to the template?

In the 4.1 branch, you have to do some hoop jumping to see available variables... and there is a specific format for the variables...

http://forum.x-cart.com/showthread.php?t=12718
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #12  
Old 12-18-2011, 01:05 PM
 
weckie weckie is offline
 

eXpert
  
Join Date: Feb 2005
Location: Netherlands
Posts: 220
 

Default Re: put content of Extra Field into the <head> ?

BTW i am working on a complete new website using xcart 4.4.4 and template MODERN LIVING
__________________
Herman Steijn

Using: X-cart 4.5.4
AT: http://www.weckonline.com LIVE
Reply With Quote
  #13  
Old 12-18-2011, 01:11 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: put content of Extra Field into the <head> ?

Extra Fields have been available on the product listings page since 4.1:

http://forum.x-cart.com/showthread.php?p=118321#post118321
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #14  
Old 12-18-2011, 01:19 PM
 
weckie weckie is offline
 

eXpert
  
Join Date: Feb 2005
Location: Netherlands
Posts: 220
 

Default Re: put content of Extra Field into the <head> ?

Quote:
Originally Posted by cherie
Extra Fields have been available on the product listings page since 4.1:

http://forum.x-cart.com/showthread.php?p=118321#post118321


Well.... Not at my New 4.4.4 website with Tha xcart stores Modern Living template.
__________________
Herman Steijn

Using: X-cart 4.5.4
AT: http://www.weckonline.com LIVE
Reply With Quote
  #15  
Old 12-18-2011, 02:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default Re: put content of Extra Field into the <head> ?

The custom skin you are using should not matter. On products list pages it is not

{foreach from=$extra_fields item=v}

It would be

{foreach from=$product.extra_fields item=v}

Above assuming you are already inside

{foreach from=$products item=product}

Extra fields array is part of each product's array inside $products
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #16  
Old 12-18-2011, 02:27 PM
 
weckie weckie is offline
 

eXpert
  
Join Date: Feb 2005
Location: Netherlands
Posts: 220
 

Default Re: put content of Extra Field into the <head> ?

Quote:
Originally Posted by cflsystems
The custom skin you are using should not matter. On products list pages it is not

{foreach from=$extra_fields item=v}

It would be

{foreach from=$product.extra_fields item=v}

Above assuming you are already inside

{foreach from=$products item=product}

Extra fields array is part of each product's array inside $products

WELL WELL... That did the job lol. Sometimes xcart is difficult from its easyness.... <-- is that english?? LOL

Thanks Anyway.
__________________
Herman Steijn

Using: X-cart 4.5.4
AT: http://www.weckonline.com LIVE
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 06:06 PM.

   

 
X-Cart forums © 2001-2020