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

title

Returns the title.

short_description

Returns the short description.

description

Returns the description.

Returns the logo.