X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   ?? New product fields in product.tpl but not in table (https://forum.x-cart.com/showthread.php?t=21546)

Oak1 05-03-2006 08:47 PM

?? 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.

balinor 05-04-2006 02:30 AM

Sure, it is possible, but it would take some custom programming in the database and X-Cart to do it.

Oak1 05-04-2006 04:36 AM

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.

balinor 05-04-2006 04:43 AM

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

Oak1 05-04-2006 04:59 AM

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

Much appreciated.

Oak.

Oak1 05-04-2006 05:57 AM

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.

Oak1 05-04-2006 06:13 AM

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.


All times are GMT -8. The time now is 11:01 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.