|Exclusive feature only in Adobe Commerce (Learn more)|
The returns attributes are used to store information that is needed during the product return process. The default attributes include the condition of the returned product, the reason for the return, and a field that indicates how the return was resolved. The process to create a returns attribute is similar to creating a customer attribute.
On the Admin sidebar, go to Stores > Attributes > Returns.
In the upper-right corner, click Add New Attribute.
To identify the attribute during data entry, set the Default Label.
For Attribute Code, enter a code that identifies the attribute within the system.
To determine the type of input control that is used for data entry, set Input Type to one of the following:
To make the field a required item, set Values Required to
To assign an initial value to the field, enter a Default Value.
To validate the data entered into the field for accuracy before the record is saved, set Input Validation to one of the following:
Alphanumeric with Space
Text Field and
Text Area input types, enter the Minimum Text Length and Maximum Text Length.
To apply a preprocessing filter, set Input/Output Filter to one of the following:
Strip HTML Tags
Escape HTML Entities
To make the attribute visible to customers, set Show on Storefront to
Yes in the Storefront Properties section.
(Optional) For Sort Order, enter a number to determine where this attribute appears relative to the others in the same part of the page. (
0 = first,
1 = second,
2 = third, and so on.)
In the left panel, choose Manage Labels/Options.
In the Manage Titles (Size, Color, etc.) section, enter the label for each store view.
If the Input Type for the attribute is
Dropdown, manage the options in the Manage Options (Values of Your Attribute) section.
To save changes, click Save Attribute.