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)
-   -   Calling an extra field on the invoice (https://forum.x-cart.com/showthread.php?t=39045)

DogByteMan 10-06-2010 12:59 PM

Re: Calling an extra field on the invoice (Bump)
 
Quote:

Originally Posted by Motive
Balinor, Diode,

Any chance you can give us hints as to how you made it work?

-Michael


Guess not

Obviously, since this thread is referred to several times as a solution, you would think it would have a solution. Nope... Those who started it just left these poor folks (and me) hanging. Shame!

drudden 01-27-2011 12:07 PM

Re: Calling an extra field on the invoice
 
Balinor has always been very helpful on these forums, so I can't blame him for not being here all the time. I'm sure he's pretty busy just like the rest of us :)

Anyway, I got this working on the product details page so maybe the logic I used can help everyone else. Instead of using the fieldid, I used the id for the Array that appears in the Debug Consule. So I used this:

{$extra_fields.1.field_value}


BUT "1" is the id of the Array and NOT the fieldid.

amagri 02-07-2014 02:31 AM

Re: Calling an extra field on the invoice
 
I got this working in 4.6 as follows:
{$products[prod_num].extra_fields[0].value}


All times are GMT -8. The time now is 07:14 PM.

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