What's required to connect a real shopping cart?
An AISA recommendation and actually adding an item to a cart are different events. A real action is possible only in a specifically agreed integration in which the store retains control over products, quantities and orders.
Three modes
| Mode | Products | Result |
|---|---|---|
| Public demo | Sample products | Test cart, no real payment |
| LiVi owner test | Own connected catalog | Product search without a real customer cart |
| Separate customer integration | The catalog and storefront of a specific store | Permitted handoff of a request; the store decides whether to add the item |
Don't assume there is a ready-made universal JS widget, checkout API or automatic Shopify/WooCommerce/Prom.ua connection. Compatibility and a separate agreement are required for each store.
Passing on user intent safely
- AISA displays a product from the validated catalog.
- The user explicitly initiates a permitted action for that product.
- The server checks the current product, quantity, availability and validity of the authorization again.
- A request to the store is prepared within one agreed mode.
- The storefront validates its own product identifier, final price, availability and quantity, then calls its normal cart function.
- Only the corresponding store response confirms that the action actually occurred.
Internal handoff protocols, identifiers and store-specific keys are not a public API for third-party calls.
Retries and product changes
If a handoff is repeated after a delayed response, the store must prevent the same action from being performed twice. A change in price, availability or quantity may require renewed validation and user action. A message saying “sent” does not mean “added to cart”.
Authorization modes
The integration architecture distinguishes adding an item after explicit selection from a workflow with a separate review and confirmation step. One permitted mode is selected for each store, with no automatic switching between the two. This does not establish that both options are generally available to every store.
Next: Read which powers belong to AI and which belong to the store.
