diff --git a/README.md b/README.md index f3d22db..e75265f 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,12 @@ use mcms\cart\Cart; $cart = new Cart(); +if($_POST) +{ + $cart->update($_POST); + Yii::$app->controller->refresh(); +} + ``` ```php