BigIan13 Posted August 26, 2016 Share Posted August 26, 2016 I hope that somebody can help as I have searched for ages to try and find the solution. We import quantities into our Prestashop 1.6.1.6 store via a CSV file from our stock control software. The CSV has two fields, id and quantity. All quantities are adjusted via the CSV in Prestashop except for the ones where the quantity should be zero. These are ignored and the existing Prestashop quantity remains, resulting in possible oversells. No errors are shown after the data import. Could anybody please help me out with this one ? Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted August 27, 2016 Share Posted August 27, 2016 There is a check on line 1936 of AdminImportController if (isset($product->quantity) && (int)$product->quantity) {I guess remove the second part 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