[ic] Accessing looped data in a usertag
Jordan M. Adler
jordan at endpoint.com
Tue Mar 18 20:55:30 EST 2008
On Tue, 18 Mar 2008 15:29:12 -0700
Grant <emailgrant at gmail.com> wrote:
> My perl skills are weak. Could anyone tell me the best way to access
> all orderline table data for an order inside a usertag?
For documentation about cart access in Interchange, see the RTFM site:
http://www.interchange.rtfm.info/icdocs/Interchange_Perl_objects.html#Carts
For perl syntax, consult perldoc, via perldoc(1) or
http://perldoc.perl.org/ (perlref, perldsc, perllol, perlsyn, etc.)
Example:
foreach my $item ( @{ $Carts->{main} } ) {
print $item->{code};
}
--
Jordan M. Adler <jordan at endpoint.com>
End Point Corporation
http://endpoint.com/
More information about the interchange-users
mailing list