You can construct a URL that automatically adds products to a customer’s basket when they open your store. This is useful for marketing campaigns, QR codes, re-order links, or any scenario where you want to send a customer directly to checkout with specific items.Documentation Index
Fetch the complete documentation index at: https://storekit.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
URL Format
{products} parameter is a comma-separated list of items, where each item follows the format:
| Part | Description |
|---|---|
PLU | The PLU (Price Look-Up) code of the product. This is set in your menu configuration and is also used for POS integrations. |
quantity | The number of units to add to the basket. Must be a positive integer. |
Example
To add 2 units of productBURGER01 and 1 unit of product FRIES01:
How It Works
- The customer opens the URL.
- The store loads the menu as usual.
- Each PLU in the URL is matched against available products.
- Valid items are added to the basket with the specified quantities.
- The customer is redirected to the menu page with the basket pre-populated and can proceed to checkout.
Validation Rules
Each item in the URL is validated individually. Items that fail validation are skipped, and the remaining valid items are still added to the basket. The customer will see a notification listing any items that could not be added.| Condition | Result |
|---|---|
| PLU not found in the menu | Item is skipped |
| Product is marked as unavailable | Item is skipped |
| Product is out of stock (inventory tracked) | Item is skipped |
| Requested quantity exceeds available stock | Item is skipped |
| Product has required modifiers | Item is skipped (modifiers cannot be specified via URL) |