arturo182 / lectronizer

A client for the lectronz.com maker marketplace.
MIT License
12 stars 1 forks source link

Custom status values #19

Open arturo182 opened 1 year ago

arturo182 commented 1 year ago

Allow the user to add custom status values, so there can have more than just Paid, Packaged, Shipped, and Refunded. This is a bit tricky because there's a lot of logic around those statuses as they define what action can and can't be taken. If a new status is added, the user would have to specify which stage of the process it belongs in. For example, once a package is Shipped, you shouldn't be able to change the Packaging value, etc, if an order is Refunded, you can't ship it. One solution would be to limit the custom statuses to only specific stages of the order lifetime, for example only between Paid and Shipped. Need more consideration.