Skip to content

[Configuration-Catalog-Products-Simple product] Manage Stock on Configuration page turned off for Simple Product in admin #958

@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 Simple product"
  35. set "Enable Product" to "Yes"
  36. fill Name = "Simple Product 1"
  37. set Price = "10"
  38. set Weight = "1"
  39. select Category = "Category 1"
  40. click button "Assign Sources"
  41. select in sources grid "Default Source", "Test Source 1" and click "Done"
  42. in "Assigned Sources" grid set
    Qty for "Default Source" = 100,
    Qty for "Test Source 1" = 100
  43. in "Product in Websites" tab select "Main Website"
  44. Open "Content" tab
  45. In "Decription" text field put text "Best product"
  46. click button "Save"
  47. Success message "You saved the product." appears
  48. Go to "Catalog" -> "Products"
  49. verify that "Simple Product 1" appeared in "Products" grid
  50. verify that "Name", "SKU", "Price" and "Website" correct
  51. Login to backend as admin
  52. Go to Catalog -> Products
  53. Open "Simple Product 1" page to edit
  54. Go to "Assigned Sources" tab on product page
  55. Set Stock status for "Test Source 1" as "Out of Stock"
  56. Click button "Save"
  57. Verify that "Simple Product 1" dissapeared from Category page on frontend
  58. Go to Stores -> Configuration -> Catalog -> Inventory
  59. In "Manage Stock Options" tab for "Manage Stock" function uncheck "Use system value" and set it to "No"
  60. Click button "Done"
  61. Click button "Save Config"
  62. Run reindex and flush cache
  63. Go to "Home page"
  64. Open "Category 1" page
  65. verify "Simple Product 1" is present
  66. verify that "Name" and "Price" are correct
  67. Open "Simple Product 1" page
  68. verify that "Name", "SKU" and "Price" are correct

HipTest Original ID: 1541510

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