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.
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 add an option, click Add Option and enter the label for Admin and each store view.
- To make an option selected by default, choose Is Default.
- To remove an option, click Delete.
To save changes, click Save Attribute.