Go to Items in the main navigation menu.
Press the + New Attribute button in the upper right-hand corner.
Enter expdate into the field under ATTRIBUTE CODE.
Enter the attribute name under ATTRIBUTE NAME.
Choose Product attribute / string from the dropdown menu under CUSTOM ATTRIBUTE TYPE.
Select Date under FRONTEND INPUT TYPE.
Enter 2 in the field under UI COLUMN SIZE IN POS.
Select Enabled under SHOW ON QUICK UPDATE FORM.
Press Save Changes.
Apply an Expiration Date to the product(s).
Create the Expiration Date Attribute
Depending on what type of products you sell, it might be necessary for you to keep track of expiration dates.