public function actionDeleteFromCart()
 {
     $arrResult = [];
     $good_id = Yii::$app->request->post('good_id');
     $arrResult['result'] = Cart::deleteItemById($good_id);
     Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
     $iP = Yii::$app->session->id;
     $quantityInCart = Cart::getQountAllByIp($iP);
     $arrResult['total'] = $quantityInCart;
     return $arrResult;
 }