[ic] Adding to Cart
mihai at airdelights.com
mihai at airdelights.com
Wed Jan 6 16:28:22 UTC 2021
Hello,
I am working on adding a fee to the cart if the customer doesn't reach a certain price threshold. I've noticed that additions to cart are done through a form on the fly pages and elsewhere on the site, but it wouldn't make sense in this specific use case.
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]
Thank you in advance.
______________________
Mihai Dan
Air Delights, Inc.
https://www.airdelights.com
1 (800) 440-5556
More information about the interchange-users
mailing list