[ic] Adding to Cart
Jon Jensen
jon at endpoint.com
Thu Jan 7 16:54:56 UTC 2021
On Wed, 6 Jan 2021, mihai at airdelights.com wrote:
> My question is, can I add an item directly to the "Items" array and have
> it display in the cart? What I have in mind is something like this, but
> I'm not sure if it's possible:
>
> [if-item-field vendor eq "..."]
> [perl] push(@Items, fee); [/perl]
> [/if-item-field]
Yes, that has been done many times.
Though of course instead of "fee" you need to have the data structure of a
cart line item.
Jon
--
Jon Jensen
End Point Corporation
https://www.endpoint.com/
More information about the interchange-users
mailing list