public function actionRemove(int $productId, int $combinationId = null)
    {
        \Yii::$app->cart->removeItem($productId, $combinationId);
        return $this->redirect(\Yii::$app->request->referrer);
    }
public function actionRemove(int $productId, int $combinationId = null)
    {
        \Yii::$app->cart->removeItem($productId, $combinationId);
        return $this->redirect(\Yii::$app->request->referrer);
    }
public function actionRemove ( int $ productId , int $ combinationId = null ) { \ Yii :: $ app -> cart -> removeItem ( $ productId , $ combinationId ) ; return $ this -> redirect ( \ Yii :: $ app -> request -> referrer ) ; }
Removes product from cart
@param int $productId
@param int $combinationId
@return \yii\web\Response
Removes product from cart