Could anyone provide a brief explanation on how to use the Session cart service, wich should I set at "Item data provider" and "Mode provider", and how to use add, remove and replace functions (as seen on information tab. Any example would be useful. Thanks in advance!
I have absolutely no idea how that thing works, and I played with it for an hour.
You can use the data builder action set to "session" to save a particular session data item, and a custom code block with {session.clear:dataname} to delete the thing from session.
Hi,
I'm guessing a bit here but I think that this is intended to allow you to aggregate purchase data from multiple forms (or multiple copies of the same form) before a final 'Purchase Now' form.
The Item Data provider is presumably a form data item with info about the selected item - maybe a Title or Description; the id and quantity are the two key item identifiers. It might be possible to add an array of data here.
The Mode provider defaults - if left empty - to the setting on the Info tab. But you can over-ride that with the Remove or Replace actions if necessary.
The end result should be an array of items that can be displayed and verified before payment.
Bob