Add to cart
ametller_add_to_cartAdd a product to your cart by providing its ID. If the product is already in the cart, the quantity increases. Returns the updated cart with total.
Instructions
Add a product to the real cart by id (get the id from ametller_search_products first). If already present, increases the quantity. Returns the updated cart with its total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | How many to add (default 1) | |
| product_id | Yes | Product id from ametller_search_products, e.g. '1251' |