Skip to content

[Configuration-Catalog-Products-Configurable product] Manage Stock on Configuration page turned off in admin for Configurable Product on Default stock #969

@ivy00johns

Description

@ivy00johns
  1. Login to backend as admin
  2. Go to Stores -> Manage Sources
  3. Click button "Add New Source"
  4. fill New Source data in General tab - Name, Code etc:
    • name = Test Source 1
    • code = test_source_1
  5. Set your New Source "Is Enabled" = Yes
  6. Fill all fields with data of your New Source in Contact Info tab
  7. Fill in address data of your New Source in Address Data tab:
    • Country: United States
    • State/Province: California (CA)
    • City: Culver City
    • Street: 6161 West Centinela Avenue
    • Postсode: 90230
  8. Set In "Carriers" tab "Use global Shipping configuration" to Yes
  9. Click button "Save & close"
  10. Confirmation message "The Source has been saved" appears
  11. verify that data in all tabs is correct
  12. Login to backend as admin
  13. Go to Stores -> Manage Stocks
  14. Click button "Add New Stock"
  15. Fill in field "Name" = "Test Stock 1"
  16. Select "Test Source 1" in sources list
  17. Click button "Done"
  18. Click button "Save & close"
  19. Success message "The Stock have been saved" appeared
  20. Login to backend as admin
  21. Go to Catalog -> Categories
  22. Select Default Category on Categories Tree
  23. Click button "Add Subcategory"
  24. set "Enable Category" to "Yes"
  25. set "Include in Menu" to "Yes"
  26. Fill in "Category Name" = "Category 1"
  27. Click button "Save"
  28. Success message "You saved the category." appears
  29. Verify that Category 1 appeared in Categories tree as subcategory of Default category. 30. Login to backend as admin
  30. Go to Catalog -> Products
  31. Click button "Add Configurable Product"
  32. set "Enable Product" to "Yes"
  33. fill Name = "Configurable Product 1"
  34. set Price = "10"
  35. set Weight = "1"
  36. select Category = "Category 1"
  37. in "Product in Websites" tab select "Main Website"
  38. click button 'Create Configuration"
  39. On page "Step 1" - Select attribute "color"
  40. click button "Next"
  41. On page "Step 2" create new values "Red" and 'Black" and check them in
  42. click button "Next"
  43. On page "Step 3" select "Apply single quantity to each SKUs"
  44. Click button "Assign Sources"
  45. In Assign Sources grid select "Default Source" and click "Done"
  46. set Quantity = 100
  47. click button "Next"
  48. On page "Step 4" click button "Generate Products"
  49. click button "Save"
  50. Success message "You saved the product." appears
  51. Verify that created variation products are present on "Configuration" tab
  52. Login to backend as admin
  53. Go to Catalog -> Products
  54. Open "Configurable Product 1-red" page to edit
  55. Go to "Assigned Sources" tab on product page
  56. Set Stock status for "Default source" as "Out of Stock"
  57. Click button "Save & Close"
  58. Open "Configurable Product 1-blue" page to edit
  59. Go to "Assigned Sources" tab on product page
  60. Set Stock status for "Default source" as "Out of Stock"
  61. Click button "Save & Close"
  62. Verify that "Configurable Product 1" dissapeared from Category page on frontend
  63. Go to Stores -> Configuration -> Catalog -> Inventory
  64. In "Manage Stock Options" tab for "Manage Stock" function uncheck "Use system value" and set it to "No"
  65. Click button "Done"
  66. Click button "Save Config"
  67. Verify message "You saved the configuration."
  68. Run reindex and flush cache
  69. Go to "Home page"
  70. Verify that "Configurable Product 1" disappeared from Category page

Original HipTest ID: 1695735

Metadata

Metadata

Assignees

Labels

MFTFFunctional Test Coverage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions