I am looking into using django-oscar
to sell custom-made products.
There is only one SKU, but it has 4 properties that customers can specify: chemicals, color, scent and weight.
Customers will make up recipes and share them with each other. A recipe is a combination of the 4 properties. Product will be made to order, so we will only stock raw ingredients, not finished product.
I already have an HTML/JavaScript page that allows customers to choose values for the 4 product properties. Costing needs to be done via an Ajax call to an API that needs to be exposed by Django.
Currently, there is one fulfillment partner (me), but out of the box django-oscar
only applies fulfillment partners to fully defined products.
django-oscar
capable of selling custom products such as I describe?
This discussion of the strategy makes me think django-oscar
can do it somehow.
A product's recipe consists of ingredients, sourced from suppliers. The recipe might be associated with a user, or it might be global. Ingredients have costs, which are determined by what the supplier charged, shipping, customs, tax, a manufacturing processing cost estimate, and a certain amount of waste. Suppliers provide ingredients by accepting purchase orders, with expected delivery dates. Ingredients that are anticipated but not yet received are back orders.
Products are priced according to a cost-plus computation, which includes flat and variable fees and minimum order.
Products are built according to the factory schedule (Tuesdays and Fridays), and are queued first in, first out, but only after all ingredients are available. For now, we assume that we will be able to empty the queue every day of production.
When an order is accepted, the estimated ship date is computed based on available ingredients and back order dates, rounded to the next available production date.