Add dynamic filter for WC total spent
[MAILPOET-3227]
This commit is contained in:
@ -139,6 +139,8 @@ class DynamicSegments extends APIEndpoint {
|
||||
return WPFunctions::get()->__('Please fill all required values.', 'mailpoet');
|
||||
case InvalidFilterException::MISSING_NUMBER_OF_ORDERS_FIELDS:
|
||||
return WPFunctions::get()->__('Please select a type for the comparison, a number of orders and a number of days.', 'mailpoet');
|
||||
case InvalidFilterException::MISSING_TOTAL_SPENT_FIELDS:
|
||||
return WPFunctions::get()->__('Please select a type for the comparison, an amount and a number of days.', 'mailpoet');
|
||||
default:
|
||||
return WPFunctions::get()->__('An error occurred while saving data.', 'mailpoet');
|
||||
}
|
||||
|
Reference in New Issue
Block a user