src/Page/CartPage.php
public static function find_link($urlSegment = false, $action = false, $id = false)
    {
        $base = CartPageController::config()->url_segment;
        if ($page = self::get()->first()) {
            $base = $page->Link();
        }
        return Controller::join_links($base, $action, $id);
    }
public static function find_link($urlSegment = false, $action = false, $id = false)
    {
        $base = CartPageController::config()->url_segment;
        if ($page = self::get()->first()) {
            $base = $page->Link();
        }
        return Controller::join_links($base, $action, $id);
    }
Returns the link to the checkout page on this site

@param boolean $urlSegment If set to TRUE, only returns the URLSegment field

@return string Link to checkout page