Skip to Content

ShippingMethod

The shipping_method object describes a shipping method available in the store, including its title, description, and logo.

Usage Example

{%- comment -%} List available shipping methods {%- endcomment -%} <ul> {% for method in store.shipping_methods %} <li> {% if method.logo %}<img src="{{ method.logo }}" alt="{{ method.title }} logo">{% endif %} <strong>{{ method.title }}</strong><br> <small>{{ method.short_description }}</small> </li> {% endfor %} </ul>

Properties

description

Returns the full description of the shipping method.

Returns the logo of the shipping method.

short_description

Returns the short description of the shipping method.

title

Returns the title of the shipping method.

Last updated on