# fluent-cart/1.6.3/app/Hooks/Handlers/ShortCodes/Checkout/CheckoutShippingMethodsShortCode.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.3. 22 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.3/code/app/Hooks/Handlers/ShortCodes/Checkout/CheckoutShippingMethodsShortCode.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.3/raw/app/Hooks/Handlers/ShortCodes/Checkout/CheckoutShippingMethodsShortCode.php
- Modified: 2025-10-14T16:36:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.3/code/app/Hooks/Handlers/ShortCodes/Checkout/CheckoutShippingMethodsShortCode.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Hooks\Handlers\ShortCodes\Checkout;


use FluentCart\App\Helpers\CartHelper;
use FluentCart\App\Hooks\Handlers\ShortCodes\ShortCode;
use FluentCart\App\Services\Renderer\CheckoutRenderer;


class CheckoutShippingMethodsShortCode extends ShortCode
{
    protected static string $shortCodeName = 'fluent_cart_checkout_shipping_methods';


    public function render($viewData = null)
    {
        $cart = CartHelper::getCart();
        (new CheckoutRenderer($cart))->getFragment('shipping_methods');
    }
}

```
