Cubecart 3 Stock Level Mod
This job is for one of our clients who needs more functionality from cubecarts stock level function. Let me try to explain clearly.
1. The client sells single products for which he will use the current stock level functionality no problem.
2. The clients main products are sold by weight and in different strengths. What he really wants for this is a stock control mod.
Products meaning nothing here is an example.
He sells the following product
5 x strength super washing powder.
In the 5x strength category he will add several products
10 Grams of 5x strength super washing powder $xx
20 Grams Of 5x strength Super washing powder $xxx
30 Grams Of 5x strength Super Washing powder $xxx
With Cubes current system each product would have to have a stock level assigned to it which is no good for the client as he is taking any order in this category from the same bulk stock.
I am thinking a new page in admin with bulk stock control where name of product and gross weight inventory can be added/edited.
Then on the add edit product page an option when it comes to assigning stock levels either
Individual stock control (Cubes current function enter how many you have)
Bulk stock control, If selected the client would need to select simply the product name from a drop down depending on what he added in the bulk stock control page. This way an order of any amount will be deducted from the gross stock level.
That is issue 1
Now for issue 2
The client also sells 10 x strength super washing powder at a different cost this is fine if all the customer is ordering is either 10x or 5x concentrate but the client also wants to sell packages eg
10g Of 5x concentrate and 20g of 10x concentrate and 10g of 10 x concentrate
The packages would be fixed weights and price but obviously a purchase of that product would require 3 bulk stock figures updating/reducing.
So this would require a modification to cubes add edit product routine to allow three products to be added as a package with a gross price.
All stock levels whether individual stock levels or bulk stock levels should be reduced on ordering.
Should an order be marked declined, deleted or cancelled in cube admin the inventory/stock levels for that order need adding back to the gross stock figures whether they be individual items or bulk stock items in order to keep the stock control correct.