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
  #1  
Old 01-29-2009, 04:46 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Product Extra Fields Don't Show

I've added an extra field in the admin and it is active but the content of the field does now show up on the customer end. Where in the product.tpl template would I edit the code to make sure the extra field displays right under the description? thanks!
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #2  
Old 01-29-2009, 04:59 PM
 
balinor balinor is offline
 

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

Default Re: Product Extra Fields Don't Show

Have you edited product.tpl?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-29-2009, 05:08 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

Yes, I think the original site designers customized it because I would imagine the default would allow it to show... They set up an "ingredients" extra field. Does this mean anything to you?

{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"}
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #4  
Old 01-29-2009, 05:09 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

I mean, does it appear that they have somehow blocked other fields than the ingredients field from displaying?
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #5  
Old 01-29-2009, 05:11 PM
 
balinor balinor is offline
 

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

Default Re: Product Extra Fields Don't Show

Yea, looks like they turned off the other extra fields to call this specific one. The original code looks like this:

{if $active_modules.Extra_Fields ne ""}
{include file="modules/Extra_Fields/product.tpl"}
{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 01-29-2009, 05:13 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

Hmm...what do you think I should do to fix it?
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #7  
Old 01-29-2009, 05:14 PM
 
balinor balinor is offline
 

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

Default Re: Product Extra Fields Don't Show

Do you want the ingredients to show with the other fields?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 01-29-2009, 05:15 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

Yes, I want everything to stay the same but I would like the extra field I just added to display as well.
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #9  
Old 01-29-2009, 05:18 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

Maybe it would help to take a look at the page:
http://www.spiritbeautylounge.com/Skinny-Skinny-Organic-Bar-Soap-Basil-Mint.html

My ingredients field is a javascript thingie. I would actually like for the other extra field to appear just above the AddThis button.
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #10  
Old 01-29-2009, 05:19 PM
 
spiredem spiredem is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 87
 

Default Re: Product Extra Fields Don't Show

...or just after the ingredients..wherever!
__________________
X-Cart Gold 4.1.10
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:07 PM.

   

 
X-Cart forums © 2001-2020