public function noestimate()
    {
        // If the shoppingcart module is installed we should
        // redirect to it when estimate is lost.
        if (class_exists(ShoppingCartFactory::class)) {
            $shopping_cart = ShoppingCartFactory::create()->getCurrent();
            return $this->redirect($shopping_cart->Link());
        }

        $this->customise([
            'Title' => _t(
                'Checkout.OrderProblem',
                'There was a problem with your order'
            ),
            'Content' => _t(
                'Checkout.NoEstimateContent',
                'Their was a problem retrieveing the details of your order, please return to the shopping cart and try again.'
            )
        ]);

        $this->extend("onBeforeNoEstimate");

        return $this->render();
    }
public function noestimate()
    {
        // If the shoppingcart module is installed we should
        // redirect to it when estimate is lost.
        if (class_exists(ShoppingCartFactory::class)) {
            $shopping_cart = ShoppingCartFactory::create()->getCurrent();
            return $this->redirect($shopping_cart->Link());
        }

        $this->customise([
            'Title' => _t(
                'Checkout.OrderProblem',
                'There was a problem with your order'
            ),
            'Content' => _t(
                'Checkout.NoEstimateContent',
                'Their was a problem retrieveing the details of your order, please return to the shopping cart and try again.'
            )
        ]);

        $this->extend("onBeforeNoEstimate");

        return $this->render();
    }
public function noestimate ( ) { // If the shoppingcart module is installed we should // redirect to it when estimate is lost. if ( class_exists ( ShoppingCartFactory :: class ) ) { $ shopping_cart = ShoppingCartFactory :: create ( ) -> getCurrent ( ) ; return $ this -> redirect ( $ shopping_cart -> Link ( ) ) ; } $ this -> customise ( [ 'Title' => _t ( 'Checkout.OrderProblem' , 'There was a problem with your order' ) , 'Content' => _t ( 'Checkout.NoEstimateContent' , 'Their was a problem retrieveing the details of your order, please return to the shopping cart and try again.' ) ] ) ; $ this -> extend ( "onBeforeNoEstimate" ) ; return $ this -> render ( ) ; }
Special function to be loaded when no estimate is
available

@return string
Special function to be loaded when no estimate is available