protected function deleteCartCheckout()
    {
        $cart_id = $this->getSubmitted('cart.action.delete');

        if (!empty($cart_id)) {
            $this->setSubmitted('cart.action.update', true);
            $this->cart->delete($cart_id);
        }
    }
protected function deleteCartCheckout()
    {
        $cart_id = $this->getSubmitted('cart.action.delete');

        if (!empty($cart_id)) {
            $this->setSubmitted('cart.action.update', true);
            $this->cart->delete($cart_id);
        }
    }
protected function deleteCartCheckout ( ) { $ cart_id = $ this -> getSubmitted ( 'cart.action.delete' ) ; if ( ! empty ( $ cart_id ) ) { $ this -> setSubmitted ( 'cart.action.update' , true ) ; $ this -> cart -> delete ( $ cart_id ) ; } }
Deletes an item from the cart
Deletes an item from the cart