Insert a variable
- Open the builder’s Variables panel and copy the variable you need.
- Paste it into a supported text setting, such as a heading or body.
- Add a fallback with the
defaultfilter where the value may be missing. - Check the preview, then verify the real signed-in customer experience.
Supported variables
Customer
customer.idcustomer.first_namecustomer.last_namecustomer.display_namecustomer.emailcustomer.phonecustomer.created_atcustomer.accepts_marketingcustomer.email_marketing_statecustomer.order_countcustomer.amount_spentcustomer.amount_spent_last_orderscustomer.store_credit_balancecustomer.store_credit_currencycustomer.tagscustomer.default_addresscustomer.is_b2b
Shop
shop.nameshop.domainshop.currency
Market
market.languagemarket.country_code
Order and line item
Order variables are available on order-aware surfaces when Shopify provides order context.order.idorder.nameorder.total_priceorder.fulfillment_statusorder.financial_statusorder.cancelledorder.return_statusorder.processed_atline_item.quantityline_item.product_titleline_item.variant_titleline_item.priceline_item.discounted
Product
Product variables are available when a block or action is rendered with product context.product.idproduct.vendorproduct.typeproduct.tagsproduct.available
B2B/company
company.idcompany.location_id
Page and time
page.scopetime.current_datetime.current_daytime.current_monthtime.current_year
Filters
Filters format or transform values:defaultupcasedowncasecapitalizestriptruncatereplacejoinmoneydatenumber
Examples
Availability
Some variables only resolve after Shopify has authenticated the customer account session. If a value is unavailable, use thedefault filter so the content still reads naturally.
Order, line item, product, B2B, and metafield variables require the matching
Shopify customer account context. If the current surface does not provide that
context, Account Canvas leaves the value blank unless a default filter is
present.