PaymentMethod
The payment_method object represents a payment option available in the store, including its title, description, and logo.
Usage Example
{%- comment -%} List all available payment methods {%- endcomment -%}
<ul>
{% for method in store.payment_methods %}
<li>
{% if method.logo %}<img src="{{ method.logo }}" alt="{{ method.title }}">{% endif %}
<strong>{{ method.title }}</strong>
{% if method.short_description %}<p>{{ method.short_description }}</p>{% endif %}
</li>
{% endfor %}
</ul>Properties
title
Returns the title.
short_description
Returns the short description.
description
Returns the description.
logo
Returns the logo.