Supported Shopify placeholders
  • 14 Oct 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Supported Shopify placeholders

  • Dark
    Light

Article summary

The following placeholders are currently supported by Shopify Macros. You can also see them in the application. You can also see them in the macro editor, by typing the + key.

  • Order name (ex. #1001): {{shopify.order.name}}

  • Order number (ex. 1), note this is different from order name: {{shopify.order.order_number}}

  • Order tracking URL: {{shopify.order.fulfillments[0].tracking_url}}

  • Order tracking number: {{shopify.order.fulfillments[0].tracking_number}}

  • Order delivery status: {{shopify.order.fulfillments[0].shipment_status}}

  • Order status URL: {{shopify.order.order_status_url}}

  • Order destination country: {{shopify.order.shipping_address.country}}

  • Order shipping address: {{shopify.order.shipping_address.address1}}\r\n{{shopify.order.shipping_address.address2}}\r\n{{shopify.order.shipping_address.city}} {{shopify.order.shipping_address.province}} {{shopify.order.shipping_address.zip}}

  • Order total price: {{shopify.order.total_price_usd}}

  • Order date (e.x. 2022-05-31): {{ shopify.order.created_at | date: "%Y-%m-%d" }}

  • Order date (e.x. 05/31/2022): {{ shopify.order.created_at | date: "%m/%d/%Y" }}

  • Order date (e.x. 31/05/2022): {{ shopify.order.created_at | date: "%d/%m/%Y" }}

  • Order date (e.x. May 31, 2022): {{ shopify.order.created_at | date: "%b %d, %y" }}

  • Order shipping date (e.x. 2022-05-31): {{ shopify.order.fulfillments[0].created_at | date: "%Y-%m-%d" }}

  • Order shipping date (e.x. 05/31/2022): {{ shopify.order.fulfillments[0].created_at | date: "%m/%d/%Y" }}

  • Order shipping date (e.x. 31/05/2022): {{ shopify.order.fulfillments[0].created_at | date: "%d/%m/%Y" }}

  • Order shipping date (e.x. 31-05-2022): {{ shopify.order.fulfillments[0].created_at | date: "%d-%m-%Y" }}

  • Order shipping date (e.x. May 31, 2022): {{ shopify.order.fulfillments[0].created_at | date: "%b %d, %y" }}

  • Customer first name: {{shopify.order.customer.first_name}}

  • Customer last name: {{shopify.order.customer.last_name}}

The following placeholders are for the paid plan only (contact us to enable paid features)

  • Line item name: {{shopify.line_item.name}}

  • Line item price: {{shopify.line_item.price}}

  • Line item quantity: {{shopify.line_item.quantity}}

  • Line item SKU: {{shopify.line_item.sku}}

  • Vendor: {{shopify.line_item.vendor}}

Missing a placeholder you are looking for? A supported placeholder you used isn't rendering? Leave us a message using the chat icon on the bottom right. We will get back to you shortly!


Next step: Sidr Shopify Macro Gmail Add-on Instructions.


Was this article helpful?