Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product import doesn't change Enable Qty Increments field #14351

Closed
simpleadm opened this issue Mar 24, 2018 · 10 comments
Closed

Product import doesn't change Enable Qty Increments field #14351

simpleadm opened this issue Mar 24, 2018 · 10 comments
Labels
bug report Component: ImportExport Fixed in 2.1.x The issue has been fixed in 2.1 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: PR Created Indicates that Pull Request has been created to fix issue Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@simpleadm
Copy link
Contributor

simpleadm commented Mar 24, 2018

Preconditions

  1. Magento 2.2.2 (all magento 2 versions)
  2. Option Stores > Configuration > Catalog > Inventory > Enable Qty Increments marked as 'Use Config Settings' (No)

Steps to reproduce

  1. Create simple product with 'Test Simple' SKU
  2. Fill Quantity, Stock Status and required fields
  3. Make sure that Enable Qty Increments ('Advanced Inventory') marked as Use Config Settings
  4. Go to System > Data transfer: Import > Import products
  5. Select Import Behavior: Add/Update
  6. Use attached csv file

Expected result

  1. Enable Qty Increments field have value from the csv file (e.g. Yes)
  2. Qty Increments field have value from the csv file (e.g. 2)
    image

Actual result

  1. Enable Qty Increments field wasn't changed and still marked as Use Config Settings
  2. Qty Increments field wasn't changed as well
    image

Example files

"sku","qty","manage_stock","enable_qty_increments","qty_increments"
"Test Simple",88,"Use Config",1,2

Best regards,
Sergey

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Mar 24, 2018
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Mar 26, 2018
@magento-engcom-team
Copy link
Contributor

@simpleadm, thank you for your report.
We've acknowledged the issue and added to our backlog.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Mar 26, 2018
@sanjay-wagento sanjay-wagento self-assigned this May 19, 2018
@sanjay-wagento
Copy link
Contributor

I am working on this at #dmcdindia

@sanjay-wagento
Copy link
Contributor

@magento-engcom-team , I cannot reproduce the issue in the latest 2.2-develop branch (Magento ver. 2.2.6-dev)

@hdnarola
Copy link

@simpleadm , I have gone through your issue and debug into code. When you import product and if you would like to change setting (Yes/No) of "Enable Qty Increments" field in product advanced inventory then you need to make sure that you define "use_config_enable_qty_inc" field in CSV file because if there is using "Config Setting" value Yes(1) ticked then you must need to define "use_config_enable_qty_inc" as 0 and make 1 as "enable_qty_increments" in CSV file. It should be worked. I have tried same and it's working perfectly.

For better understanding, Kindly check CSV fields at below with its values.

"sku","qty","manage_stock","enable_qty_increments","qty_increments","use_config_enable_qty_inc"
"Test Simple",88,"Use Config",1,2,0

Let me know if you have still confustion.

Thank you.
#dmcindia

@simpleadm
Copy link
Contributor Author

@hdnarola ,
Products import have logic for handling Use config settings and it work perfect for most fields (except of Enable Qty Increments). So you don't need to add new use_config_ columns to the csv files.
More technical info you can find in the PR #14352

@hdnarola
Copy link

@simpleadm , OK. Got it.

@magento-engcom-team magento-engcom-team added Progress: PR Created Indicates that Pull Request has been created to fix issue and removed Event: dmcdindia labels May 26, 2018
@sidolov
Copy link
Contributor

sidolov commented Jun 25, 2018

Hi @simpleadm. Thank you for your report.
The issue has been fixed in #14352 by @simpleadm in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

@sidolov sidolov added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Jun 25, 2018
@VladimirZaets
Copy link
Contributor

Hi @simpleadm. Thank you for your report.
The issue has been fixed in #14380 by @simpleadm in 2.1-develop branch
Related commit(s):

The fix will be available with the upcoming 2.1.15 release.

@VladimirZaets VladimirZaets added the Fixed in 2.1.x The issue has been fixed in 2.1 release line label Jul 13, 2018
@VladimirZaets
Copy link
Contributor

Hi @simpleadm. Thank you for your report.
The issue has been fixed in #14379 by @simpleadm in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.6 release.

@VladimirZaets VladimirZaets added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: ImportExport Fixed in 2.1.x The issue has been fixed in 2.1 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Progress: PR Created Indicates that Pull Request has been created to fix issue Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

6 participants