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

Product Extra Fields Don't Show

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-29-2009, 05:20 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Product Extra Fields Don't Show

Can you post the rest of the code from above? Would end in {/section}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #12  
Old 01-29-2009, 05:22 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

{section name=field loop=$extra_fields}
{* loop through with sanity check on field=ingredients in case more extra fields are added *}
{if $extra_fields[field].active eq "Y" && $extra_fields[field].field_value && $extra_fields[field].field eq "Ingredients"}
<iframe id="ingred_cover" src="javascript: '<html></html>';" scrolling="no" frameborder="0"></iframe>
<div id="ingredients">
<div class="ing_title">INGREDIENTS</div>
<div>{$extra_fields[field].field_value}</div>
<div class="ing_close"><a href="javascript: ingredients('none');">CLOSE X</a></div>
</div>
{/if}
{/section}


Make any sense?
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #13  
Old 01-29-2009, 07:16 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Product Extra Fields Don't Show

Can't you put HTML in the extra fields?
__________________
xcart 5.1.2
Reply With Quote
  #14  
Old 01-30-2009, 09:56 AM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

What HTML would I put?
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #15  
Old 01-30-2009, 10:14 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Product Extra Fields Don't Show

why I asked is because I don't think you need to break the original code. Could have just made the pop up by putting that code in the ingredients extra field.
__________________
xcart 5.1.2
Reply With Quote
  #16  
Old 01-30-2009, 01:40 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

Well, the popup is already done...let's leave all that alone. I don't want to change any of the existing code except for whatever is keeping it from allowing the new extra field to show up on the page at all. Any ideas? thanks!
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #17  
Old 01-30-2009, 06:49 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Product Extra Fields Don't Show

well if you add the code to allow the others the ingredients one will show also.
__________________
xcart 5.1.2
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 12:28 PM.

   

 
X-Cart forums © 2001-2020