Todor Inchovski Posted December 12, 2018 Share Posted December 12, 2018 I was wondering if it is possible to make it so that customers can make orders from the front office with a minus sign (which means that they can order -5 quantity of some product and then it is put in the database as +products in stock)? Link to comment Share on other sites More sharing options...
Haumea Posted December 12, 2018 Share Posted December 12, 2018 What are you trying to achieve? Link to comment Share on other sites More sharing options...
Todor Inchovski Posted December 13, 2018 Author Share Posted December 13, 2018 9 hours ago, Haumea said: What are you trying to achieve? What I am trying to do is rework prestashop for consignation. So I need customers to be able to buy negative quantities of something (as they are returning it). The returns system is a bit odd as I read it and it does not suit my need. I hope the picture sheds light on my idea. Link to comment Share on other sites More sharing options...
Todor Inchovski Posted December 17, 2018 Author Share Posted December 17, 2018 I really need to make it so that a person has ordered (for example) 50 products, then he has sold 30 of them and is returning 20 (consignation). And I want to do it via the front office. The idea is that the person is not buying the product and it's done, but he is selling my product and then returning the remaining to me. This is what I need to achieve with the minus sign buying from the front office. Link to comment Share on other sites More sharing options...
Haumea Posted December 20, 2018 Share Posted December 20, 2018 I would have done it like a front controller. Where the customer types in the ID of the product and the ID of the order. Then you handle the request and modify the quantity available in stock Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now