Change prestashop stock managment logic
----------------------------------------
i need to change the prestahsop current stock logic. i am selling cars through my website.
this is the work flow.
I have car companies,cars and car models. car companies and cars are related and developed as a module. car companies have different taxes.
these cars are related to car models (car models are our defualt products).
we need make a relationship between the cars and products
For the correct operation of the system of stock, it is necessary to change the logic of ordering. When placing an order, it is necessary to subtract the quantity of purchased goods from the new logic of the stock system. By default, priority Cars (source of products) are Cars that belong to the Company by default. In the event that the company by default does not have the necessary products in stock, subtract from any other Cars. It is necessary to save information in the database about what products and quantity were purchased from the Car. It is also necessary to implement tools for the administrator to manage the ordered products. The ability to change the order of the Car from which the product were purchased. The ability to return to the stock.