Return states of orders and items are identified using the ReturnableStates
class. The localized values for these states are maintained and defined in the atg.commerce.states.
file.
ReturnStateResources.properties
State | Description |
---|---|
| The item can be returned. Note that this is the only state that is considered returnable. All other states will be considered not returnable. |
| The item cannot be returned as it has already been completely returned. |
| The item cannot be returned for reasons that may have occurred within the order, such as the item never arrived. |
| This item’s product or SKU has been flagged in the catalog as non-returnable. Items like Final Sale Items, or food items can be flagged within the catalog as a non-returnable item. |
| The order can be returned. Note that this is the only state that is considered returnable. All other states will be considered not returnable. |
| The order has not been fulfilled, and as such, cannot be returned. |
| There are no items within the order that can be returned. |
| The order cannot be returned. |
By modifying the descriptions in the atg.commerce.states.ReturnStateResources.properties
resource file, you can configure the site pages to provide more detailed information when presenting returnable states. For example, the site page can display “This order is older than 60 days, and cannot be returned.”
The IsReturnable
droplet provides the fully localized description of the returnable state for display on pages. Refer to the Return Servlet Beanssection for information on the IsReturnable
droplet.