VTEX inStore
How to customize inStore
Enable cart transfer and capture between devices

The cart transfer and capture feature on inStore allows a purchase started on one device to be completed on any other device present in the purchase flow, without the need to reinsert the items in the cart.

This is particularly useful for stores where the customer can be served by more than one sales associate. In that case, at each interaction with a different sales associate, they can add products to the same cart used by the previous sales associate. This same cart is transferred between one sales associate and the other, until the purchase is done.

This feature streamlines the order and facilitates the commissioning of the sales associates involved in the purchase, as it removes the need for labels with sales associate identification codes.

Edit the checkout-instore-custom.js file

To activate the cart transfer and capture feature on inStore, you must edit the checkout-instore-custom.js file. Check out the How to customize inStore guide for further information on how to access it.

Inside this file, you need to find the window.INSTORE_CONFIG object and add the transferEnabled property in it, with the value true. Do not remove any of the other properties present on that object.

The result should look like:

  transferEnabled: true,

After making changes in the code, make sure you press the Save button.

Check out your changes

After making this change, open the inStore menu and update the data by clicking on the Reset app local data button.

Once this is done, a slider will appear at the bottom of the inStore identification page: {"base64":"  ","img":{"width":852,"height":1722,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":174305,"url":""}} When you drag the screen to the right, you will see the Cart Capture option, as shown in the image below. {"base64":"  ","img":{"width":844,"height":1707,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":164175,"url":""}} For more information on how to use this feature, check our guide.

Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Suggest edits (Github)
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page