UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 815 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [DefaultExternalTaggingService](./x-components.defaultexternaltaggingservice.md) &gt; [storeAddToCart](./x-components.defaultexternaltaggingservice.storeaddtocart.md) ## DefaultExternalTaggingService.storeAddToCart() method Stores in the local storage the information from the Result added to the cart by the user in order to be able to track the checkout later on when the checkout process has been completed by shopper. **Signature:** ```typescript storeAddToCart(result: Result): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | result | Result | The result to store. | **Returns:** void