Set number of days for a return policy
Edit on GitHubTo define a period within which an item can be returned, in Pyz\Zed\SalesReturn\SalesReturnConfig
, redefine the config by adding the following:
protected const GLOBAL_RETURNABLE_NUMBER_OF_DAYS = {{Number of days}};
Where {{Number of days
}} is the time period in days after the item purchase within which the item can be returned.
Example:
namespace Pyz\Zed\SalesReturn;use Spryker\Zed\SalesReturn\SalesReturnConfig as SprykerSalesReturnConfig;class SalesReturnConfig extends SprykerSalesReturnConfig
{
protected const GLOBAL_RETURNABLE_NUMBER_OF_DAYS = 30;
}
Thank you!
For submitting the form