This is not a bug perse but i think it shoud be handled differently.
When importing, if you setup your products to be in a warehouse and that your quantity depends on that stock you cannot manually add a quantity for that product... all good and dandy.
the problem comes if you by mistake put a quantity in the import file and also set the "Advanced Stock Management" "Depends on stock" and "Warehouse" settings to true.
The CSV validation will say the file is valid but when processing you will get a completely ambigous error:
It took me a lot of trial and error to figure out what was happening.
I think that a simple check: If the mentioned advanced stock settings are set to true and you are setting a quantity for the product then the file should not be valid and you should get an error as in other cases.
Question
RaptorX
This is not a bug perse but i think it shoud be handled differently.
When importing, if you setup your products to be in a warehouse and that your quantity depends on that stock you cannot manually add a quantity for that product... all good and dandy.
the problem comes if you by mistake put a quantity in the import file and also set the "Advanced Stock Management" "Depends on stock" and "Warehouse" settings to true.
The CSV validation will say the file is valid but when processing you will get a completely ambigous error:
It took me a lot of trial and error to figure out what was happening. I think that a simple check: If the mentioned advanced stock settings are set to true and you are setting a quantity for the product then the file should not be valid and you should get an error as in other cases.
0 answers to this question
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