Skip to content

Add to Cart for SKUs Out of Inventory or Other Add SKU to Order Errors #269

@osseonews

Description

@osseonews

Is your feature request related to a problem? Please describe

Right now, if an item/sku that has inventory is added to an order, but the item is out of inventory (inventory is 0), the item is just not added to the order and the user of the dashboard doesn't know why. They keep trying to add the sku, but it doesn't get added. There is no indication it is out of stock.

Describe the solution you'd like

If a sku is out of stock and you try to add it to the cart, you should display an error message on the frontend of the dashboard that says something like: "SKU is out of stock". That way, the user knows what is going on or why the sku can't be added to the cart. Maybe just display the error message from the API when a SKU can't be added to the order, so you can cover all scenarios. The idea is that the user needs to some information about why the SKU or Bundle is not getting added to the order.

Describe alternatives you've considered

There are no alternatives. The SKU is not added, but there is no information on the frontend to give an indication as to why it's not added.

Are you able to assist to bring the feature to reality?

no

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions