Go to Items.
Press the Custom Attributes button in the upper right corner.
Press + Add New Attribute in the upper right corner.
Under ATTRIBUTE CODE, you must enter web_status.
Under ATTRIBUTE NAME, name it Online Availability or Online Visibility.
Under CUSTOM ATTRIBUTE TYPE, choose Product attribute / string from the dropdown menu.
Under FRONTEND INPUT TYPE, choose Select from the dropdown menu.
Under SELECT VALUES, press +Add New three times.
Enter the following values:
Under VALUE enter "active" and under LABEL enter Show or Display.
Under the next VALUE, enter "hidden", and under LABEL enter Hide or Do Not Display.
Under the next VALUE, enter "notsalable" and under LABEL enter Not Salable.
Under UI COLUMN SIZE IN POS, enter a value between "3" and "5".
Do not select anything under SHOW ON QUICK UPDATE FORM.
Press Save Changes.
Create Web Status Attribute
If you want to adjust a product's visibility on your online store, you must first create the web status attribute. Once you completed this step, you'll be able to make a product Visible, Not Visible, or Visible but not Salable.