> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Add To Cart ## Article: Add To Cart ## Article Link: https://dev.wix.com/docs/sdk/host-modules/site/events/wix-stores/add-to-cart.md ## Article Content: # Add to Cart Triggered when user clicks on the **Add to cart** button. ### Properties |Name|Type|Description| |---|---|---| |`origin`|string|Wix App name, such as Stores or Bookings.| |`id`|GUID|Product ID.| |`name`|string|Product name.| |`price`|number|Product price.| |`currency`|currency|Default site currency in ISO-4217 format.| |`quantity`|number|Product quantity.| |`sku`|string|Product stock keeping unit.| |`type`|string|Product type. Possible values are `physical` and `digital`.| |`brand`|string|Product brand.| |`_internalEventId`|GUID|Event ID.| |`userId`|GUID|Wix user ID.| ### Example ```json { "origin": "Stores", "id": "362b1084-060a-49d8-9ba3-e4701d2dac32", "name": "Coffee Extravaganza: Four 250g Blends of Premium Beans", "price": 67.5, "currency": "USD", "quantity": 1, "sku": "", "type": "physical", "brand": null, "_internalEventId": "905bc987-0681-4148-93b0-b0d255b48d83", "userId": "31ff72a7-bc9f-4925-bc84-e0d2fe493a5a" } ```