Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2014-12-23 08:55:06

Katie_SFO
Member
Registered: 2014-08-20
Posts: 6

How can I get order item info on checkoutcomplete.tpl?

On checkoutcomplete.tpl, I'd like access to a list of the items just purchased, like the arItems array that's on basket.tpl. I'm seeking the picture ID, unit price, and quantity for each item purchased, as well as a transaction ID and total order price. When I used {debug} to list the variables on each page (that I could get to without actually purchasing something), I saw the arItems array only on basket.tlx, and not on the other pages in the purchase process. To anyone who has accessed order item info on checkoutcomplete.tpl before, could you point me in the right direction?

Thanks very much!

Last edited by Katie_SFO (2014-12-27 06:56:32)

Offline

#2 2015-01-02 11:46:27

steve
Third Light Staff
Registered: 2013-06-06
Posts: 105

Re: How can I get order item info on checkoutcomplete.tpl?

Hi Katie,

Only a subset of all possible variables are exposed to each template from the backend code so if you find that {debug} isn't showing something that you would hope to see, that unfortunately means that the variable isn't available to that template.

Best Regards,
Steve

Offline

Board footer