Shortcodes
General
- {{company_info}}
- {{logo_url}}
- {{shop_name}}
- {{quote_link}}
Language
- {{language.quote_text}}
- {{language.product_text}}
- {{language.quantity_text}}
- {{language.price_text}}
- {{language.extended_text}}
- {{language.subtotal_text }}
- {{language.tax_text }}
- {{language.total_text}}
- {{language.view_accept_link_text}}
- {{language.view_quote_text}}
- {{language.remarks_text}}
- {{language.quote_submitted_link_text}}
Quote
- {{quote.quote_number}}
- {{quote.quote_name}}
- {{quote.po_number}}
- {{quote.email}}
- {{quote.first_name}}
- {{quote.last_name}}
- {{quote.phone}}
- {{quote.created_on}}
- {{quote.expires_on}}
- {{quote.status}}
- {{quote.remarks}}
- {{quote.locale}}
- {{quote.public_notes}}
- {{quote.discount_amount}}
- {{quote.discount_reason}}
- {{quote.discount_value_type}}
- {{quote.shipping_price}}
- {{quote.shipping_name}}
- {{quote.subtotal}}
- {{quote.tax}}
- {{quote.total}}
- {{quote.assignee}}
- {{quote.customer}}
- {{quote.line_items}}
- {{quote.custom_fields}}
- {{quote.cart_attributes}}
Assignee
- {{quote.assignee.id}}
- {{quote.assignee.name}}
- {{quote.assignee.email}}
- {{quote.assignee.info}}
Customer
- {{quote.customer.first_name}}
- {{quote.customer.last_name}}
- {{quote.customer.email}}
- {{quote.customer.phone}}
- {{quote.customer.tags}}
- {{quote.customer.id}}
- {{quote.customer.addresses}}
- {{quote.customer.metafields}}
Address
A customer can have multiple addresses associated with their account. You can iterate through each address using a for loop as shown below.
- {{address.address1}}
- {{address.address2}}
- {{address.city}}
- {{address.company}}
- {{address.country}}
- {{address.first_name}}
- {{address.last_name}}
- {{address.phone}}
- {{address.province}}
- {{address.zip}}
- {{address.province_code}}
- {{address.country_code}}
- {{address.country_name}}
- {{address.default}}
Metafields
The metafields property returns a list of metafield object. You can either iterate through the list to display each one, or you can display a single metafield using the namespace and key.
- {{metafield.namespace}}
- {{metafield.key}}
- {{metafield.value}}
Line Items
the line items property returns a list of line items. You can iterate through the list to display each item.
- {{line_item.title}}
- {{line_item.sku}}
- {{line_item.barcode}}
- {{line_item.url}}
- {{line_item.variant_title}}
- {{line_item.image_url}}
- {{line_item.quantity}}
- {{line_item.original_price}}
- {{line_item.price}}
- {{line_item.compare_at_price}}
- {{line_item.subtotal}}
- {{line_item.subtotal_without_discount}}
- {{line_item.harmonized_system_code}}
- {{line_item.country_code_of_origin}}
- {{line_item.weight}}
- {{line_item.weight_units}}
- {{line_item.metafields}}
- {{line_item.variant_metafields}}
- {{line_item.properties}}
- {{line_item.discount}}
Line Item Properties
Each line item contains a properties field which returns a list of line item properties. You can iterate through the list to display each item.
- {{prop.key}}
- {{prop.value}}
Line Item Discount
- {{line_item.discount.amount}}
- {{line_item.discount.reason}}
- {{line_item.discount.value_type}}
Custom Fields
The custom fields property contains a list of all custom fields that are part of the quote. You can iterate over the list to display each field, or you can display a single field by looking up the the custom field by name or id.
If the custom field type is an address the value returned is a JSON object. You can use the address filter to automatically format the address.
- {{custom_field.name}}
- {{custom_field.value}}
- {{custom_field.field_type}}
Cart Attributes
The cart attributes field is a collection of attribute objects. You can iterate over the list to display the value of each
- {{attribute.key}}
- {{attribute.value}}
