Placeholders for UI templates

You can use the Liquid code in UI templates. See more at https://shopify.github.io/liquid/basics/introduction/.

PlaceholderUI templateDescription
reseller.logo

All UI templates

The links to the reseller's logos (see Uploading reseller's logos):

  • reseller.logo — the main logo,
  • reseller.inverted_logo — the inverted logo,
  • reseller.short_logo — the short logo,
  • reseller.favicon — the favicon.

For example, reseller.logo returns /images/system_setting/logo/1/logo.png

reseller.inverted_logo
reseller.short_logo
reseller.favicon
invoice.charges

Invoice/Prepay

Invoice/Postpay

List of charges
invoice.charges[].has_taxesBool; indicates whether an invoice item has taxes
invoice.charges[].taxes_amountThe sum of all taxes in an invoice
invoice.charges[].taxes[]The array of taxes included in an invoice
invoice.charges[].tax[].idThe ID of a tax
invoice.charges[].tax[].nameThe name of a tax
invoice.charges[].tax[].codeThe code of a tax
invoice.charges[].tax[].amountThe amount of a tax
invoice.order_chargesList of grouped order charges
invoice.correctionsList of approved corrections
invoice.idInvoice ID
invoice.document_numberDocument number
invoice.created_atInvoice creation date (MM.DD.YYYY)
invoice.from_dateInvoice start date
invoice.to_dateInvoice end date
invoice.total_in_wordsInvoice total amount in words
invoice.totalInvoice total amount
invoice.statusInvoice status
invoice.from_date_humanLocalized start date
invoice.to_date_humanLocalized end date (one day before to_date)
invoice.date_todayLocalized current date
invoice.account_addressFormatted account address
invoice.account_buildingAccount's building
invoice.account_streetAccount's street
invoice.account_zipAccount's ZIP code
invoice.account_cityAccount's city
invoice.account_regionAccount's region
invoice.account_country_nameAccount's country (full name)
invoice.account_countryAccount's country code
invoice.account_phoneAccount's phone number
invoice.account_emailAccount's email
invoice.account_nameAccount's name
invoice.account_idAccount's ID
invoice.account_type_keyAccount's type key
invoice.subscriptions

Invoice/Postpay

List of subscriptions
invoice.paymentsList of payments 
invoice.charges_total_amountSum of charge amounts
account.nameCertificate/Completed OrderInformation about the account linked to an order
account.street
account.building
account.office
account.city
account.zip
account.country
account.country_name
account.phone
account.custom_attributes
order.numberThe order number
order.charges

A list of charges linked to an order. Use with an iterator {% for charge in order.charges %} ... {% endfor %}.

If an order has no charges, information is missing

charge.descriptionInformation about a linked charge
charge.quantity
charge.unit_price
charge.period
charge.amount
charge.name
subscription.nameInformation about the subscription linked to an order
subscription.start_date
subscription.expiration_date
plan.nameThe ordered plan name
reseller.nameInformation about the reseller
reseller.custom_attributes
reseller.stamp