public function getShippingMethodTemplate($template, array $order, $shipping_model)
    {
        if (empty($order['shipping'])) {
            return '';
        }

        $method = $shipping_model->get($order['shipping']);
        return $this->getMethodTemplate($template, $order, $method);
    }
public function getShippingMethodTemplate($template, array $order, $shipping_model)
    {
        if (empty($order['shipping'])) {
            return '';
        }

        $method = $shipping_model->get($order['shipping']);
        return $this->getMethodTemplate($template, $order, $method);
    }
public function getShippingMethodTemplate ( $ template , array $ order , $ shipping_model ) { if ( empty ( $ order [ 'shipping' ] ) ) { return '' ; } $ method = $ shipping_model -> get ( $ order [ 'shipping' ] ) ; return $ this -> getMethodTemplate ( $ template , $ order , $ method ) ; }
Returns a template for a shipping method
@param string $template
@param array $order
@param \gplcart\core\models\Shipping $shipping_model
@return string
Returns a template for a shipping method