You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Products that are not available for POS Sales Channel, can still be added to cart via POS Extensions Cart API, which does occasionally show a cart error with no extra information (just a generic "something is wrong with the cart"), but the product is still added to cart and the checkout can be completed.
Steps to reproduce the behavior:
Create a fresh POS UI Extension
Run the api.cart.addLineItem function with a product that is not in the POS Sales Channel
const api = useApi<'pos.home.modal.render'>()
await api.cart.addLineItem("productId", 1)
Expected behavior
Product that is not available in the POS sales channel is NOT added to the cart, with a proper error message.
The text was updated successfully, but these errors were encountered:
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
Products that are not available for POS Sales Channel, can still be added to cart via POS Extensions Cart API, which does occasionally show a cart error with no extra information (just a generic "something is wrong with the cart"), but the product is still added to cart and the checkout can be completed.
Steps to reproduce the behavior:
api.cart.addLineItem
function with a product that is not in the POS Sales ChannelExpected behavior
Product that is not available in the POS sales channel is NOT added to the cart, with a proper error message.
The text was updated successfully, but these errors were encountered: