Anyone got a solution on this based on what I have already?
Building small e-commerce platform, need a little help.
Hi All,
I'm building a small e-commerce platform with Laravel and all is well, but I have an issue.
My client sells clothing and she can sell for example: A dress that she has in 4 different sizes 8, 10, 12, 14 Along with different colours black, white, green. So my question is how is the best way to control stock for this?
I have a table for products like so: http://f.cl.ly/items/1B3W3D2W2b0z0S1i3R19/Screen%20Shot%202014-10-30%20at%2015.00.08.png
And I json_encode when creating a product within the cms then json_decode on the front end to show like this: http://f.cl.ly/items/2z3P35300M2H3H2T171J/Screen%20Shot%202014-10-30%20at%2015.01.31.png
Which works fine ,but obviously I need it to take of stock for whichever product is order, so say I ordered a black size 8 size (not that I would!) then that needs to be reflected in the stock within the CMS, how can this be done???
Please or to participate in this conversation.