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.
Create a returns attribute
On the Admin sidebar, go to Stores > Attributes > Returns.
In the upper-right corner, click Add New Attribute.
New Return Attribute
To identify the attribute during data entry set the Default Label.
Enter an Attribute Code to identify 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:
- Text Field
- Text Area
- Image File
To make the field required, 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
- Numeric Only
- Alpha Only
For the 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
Yesin 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. (
2= third, and so on.)
Manage the labels/options
In the left panel, choose Manage Labels/Options.
Enter the Default Store View.
To save changes, click Save Attribute.