fixed few issues with stock and quantity, biut not finished all requirenment