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

?? New product fields in product.tpl but not in table

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-03-2006, 08:47 PM
 
Oak1 Oak1 is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 34
 

Default ?? New product fields in product.tpl but not in table

Is it possible to take a new product field and then add it on the page but not in the additional fields table. I want additional fields but need to control where they go on the page and not just lumped in one table.

Oak.
__________________
--
X-Cart v4.0.18, Linux
Reply With Quote
  #2  
Old 05-04-2006, 02:30 AM
 
balinor balinor is offline
 

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

Default

Sure, it is possible, but it would take some custom programming in the database and X-Cart to do it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-04-2006, 04:36 AM
 
Oak1 Oak1 is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 34
 

Default Custom requirement

Quote:
Originally Posted by balinor
Sure, it is possible, but it would take some custom programming in the database and X-Cart to do it.

Hmm... thatБ─≥s a disappointment. I can't believe the only field available is "Detailed description" and adding another field but getting it positioned in anther table is not available.

Wanted to use Cart-Labs tabs and call one tab specifications and one details. Then use extra fields to dynamically populate with content.

OaK.
__________________
--
X-Cart v4.0.18, Linux
Reply With Quote
  #4  
Old 05-04-2006, 04:43 AM
 
balinor balinor is offline
 

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

Default

Oh wait, sorry...I misunderstood your request. You can call each individual extra field by itself:

{$extra_fields[1].field_value}
{$extra_fields[2].field_value}

etc, etc, etc
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-04-2006, 04:59 AM
 
Oak1 Oak1 is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 34
 

Default Hard things so easy

Thanks... how come things that seem so hard in the interface are so easy.

Much appreciated.

Oak.
__________________
--
X-Cart v4.0.18, Linux
Reply With Quote
  #6  
Old 05-04-2006, 05:57 AM
 
Oak1 Oak1 is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 34
 

Default Spoke to soon

Now that I have the extra fields working so well is there a way to exclude field "0" from the general table display. Its shows twice now

Right now the extra fields table display plus the segmented {$extra_fields[0].field_value} displays. I need to get the independent reference to the extra field "0" to be the only "0" on the page.

Oak.
__________________
--
X-Cart v4.0.18, Linux
Reply With Quote
  #7  
Old 05-04-2006, 06:13 AM
 
Oak1 Oak1 is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 34
 

Default Trial and Error wins again

Just in case someone else is following this thread in interest. I am no X-Cart pro but this seemed to work just fine to eliminate the general write all to table default.

{/if}
{if $active_modules.Extra_Fields ne ""}
{$extra_fields[0].field_value}
{/if}

Oak.
__________________
--
X-Cart v4.0.18, Linux
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 09:20 AM.

   

 
X-Cart forums © 2001-2020