public function actionClear()
    {
        \Yii::$app->cart->clearCart();
        return $this->redirect(\Yii::$app->request->referrer);
    }
public function actionClear()
    {
        \Yii::$app->cart->clearCart();
        return $this->redirect(\Yii::$app->request->referrer);
    }
public function actionClear ( ) { \ Yii :: $ app -> cart -> clearCart ( ) ; return $ this -> redirect ( \ Yii :: $ app -> request -> referrer ) ; }
Removes all products from cart
@return \yii\web\Response
Removes all products from cart