Skip to content

Product based order statuses? #229

Description

@monecchi

Hi there! First thing first, thanks for your project! It has helped me a lot with a personal project.

Regarding the order statuses and the way they are now implemented, depending on the business model, a "shop" might prefer to apply statuses only to the order itself instead of individual order items.

Also regarding the "cancellation action" customers can perform, a shop might not want customers to be able to cancel individual order items, but preferably the whole order itself.

As of now, all cancelled orders are deleted from database, but a shop might want them stored for later control, filtering, customer order history etc. Perhaps, it'd be a good idea to bring some logic with an option for storing them for 30 days or indefinetly if it comes to it.

Perhaps a better approach for the "cancellation action" would be to provide a separate mongoose model and api on the server side defined as "Cancellation Request". The Cancellation Request model would contain the order and order items as also a "reason" text posted by customers.

Every time customers cancel an order & order item(s), Admins and Merchants would be able to check "cancellation requests" by filtering orders by order.status so they could analyze and then approve or decline those cancelled orders.

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions