public function emptycart()
    {
        $this->extend("onBeforeEmpty");
        $this->removeAll();
        $this->save();
                
        $this->setSessionMessage(
            "bad",
            _t("Checkout.EmptiedCart", "Shopping cart emptied")
        );

        return $this->redirectBack();
    }