Skip to content

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

@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. In "Sales Channels" Tab select website "Main Website"
  17. Click button "Assign Sources" In "Sources" Tab
  18. modal window "Assign Sources" opened
  19. Select "Test Source 1" in sources list
  20. Click button "Done"
  21. Click button "Save & close"
  22. Success message "The Stock have been saved" appeared
  23. Login to backend as admin
  24. Go to Catalog -> Categories
  25. Select Default Category on Categories Tree
  26. Click button "Add Subcategory"
  27. set "Enable Category" to "Yes"
  28. set "Include in Menu" to "Yes"
  29. Fill in "Category Name" = "Category 1"
  30. Click button "Save"
  31. Success message "You saved the category." appears
  32. Verify that Category 1 appeared in Categories tree as subcategory of Default category. 33. Login to backend as admin
  33. Go to Catalog -> Products
  34. Click button "Add Configurable Product"
  35. set "Enable Product" to "Yes"
  36. fill Name = "Configurable Product 1"
  37. set Price = "10"
  38. set Weight = "1"
  39. select Category = "Category 1"
  40. Open "Content" tab
  41. In "Decription" text field put text "Best product"
  42. in "Product in Websites" tab select "Main Website"
  43. click button 'Create Configuration"
  44. On page "Step 1" - Select attribute "color"
  45. click button "Next"
  46. On page "Step 2" create new values "Red" and 'Black" and check them in
  47. click button "Next"
  48. On page "Step 3" select "Apply single quantity to each SKUs"
  49. click button "Assign Sources"
  50. In Assign Sources grid select "Test Source 1" and click "Done"
  51. Set Quantity for source = 100
  52. click button "Next"
  53. On page "Step 4" click button "Generate Products"
  54. click button "Save"
  55. Success message "You saved the product." appears
  56. Verify that created variation products are present on "Configuration" tab
  57. Login to backend as admin
  58. Go to Catalog -> Products
  59. Open "Configurable Product 1-red" page to edit
  60. Go to "Assigned Sources" tab on product page
  61. Set Stock status for "Test Source 1" as "Out of Stock"
  62. Click button "Save & Close"
  63. Open "Configurable Product 1-blue" page to edit
  64. Go to "Assigned Sources" tab on product page
  65. Set Stock status for "Test Source 1" as "Out of Stock"
  66. Click button "Save & Close"
  67. Verify that "Configurable Product 1" dissapeared from Category page on frontend
  68. Go to Stores -> Configuration -> Catalog -> Inventory
  69. In "Manage Stock Options" tab for "Manage Stock" function uncheck "Use system value" and set it to "No"
  70. Click button "Done"
  71. Click button "Save Config"
  72. Verify message "You saved the configuration."
  73. Run reindex and flush cache
  74. Go to "Home page"
  75. Verify that "Configurable Product 1" dissapeared from Category page

Original HipTest ID: 1551168

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