Sunnysideup\Ecommerce\Api\ShoppingCart::addMessage
Stores a message that can later be returned via ajax or to $form->sessionMessage();.
$message the message, which could be a notification of successful action, or reason for failure
Signature
public function addMessage(mixed
$message,
[string
$status = 'good'] )
Parameters
$message
— mixed$status
— string- - use good, bad, warning
Line | Task |
---|---|
1094 | remove the awkward replace |