Current Behavior vs Expected Behavior
My Function Code:
typescript
errors.push({
localizedMessage: "You must select at least 2 products Selling Plans Ski Wax",
target: 'cart',
});
Current Cart AJAX Response:
json
{
"description": null,
"message": "You must select at least 2 products Selling Plans Ski Wax",
"status": 422
}
Expected Cart AJAX Response (per documentation):
json
{
"description": "You must select at least 2 products Selling Plans Ski Wax",
"message": "Cart Error",
"status": 422
}