Skip to Content

Merchant

The merchant object describes the merchant, including company status, address, and formatting preferences.

Usage Example

{%- comment -%} Show merchant address and time zone {%- endcomment -%} <p> Address: {{ merchant.address }}<br> Time Zone: {{ merchant.time_zone }} </p> {%- comment -%} Format a date using the merchant's date and time formats {%- endcomment -%} <p> Date: {{ some_date | date: merchant.date_format }}<br> DateTime: {{ some_date | date: merchant.datetime_format }}<br> Time: {{ some_date | date: merchant.time_format }} </p>

Properties

address

Returns the merchant address.

date_format

Returns the default date format.

datetime_format

Returns the default datetime format.

is_company

Returns true if the merchant is a company.

is_on_trial

Returns true if the merchant is on trial.

time_format

Returns the default time format.

time_zone

Returns the merchant time zone.

Last updated on