Support

Liquid variables in notifications

Updated on October 13, 2020

Alpaca uses liquid to load dynamic content into notifications and order status content. Liquid objects and variable names are denoted by double curly braces: {{ and }}. Notifications have access to the following liquid objects:

  • shop
  • customer
  • order
  • attributes
  • locations

Shop

The following attributes are available on the shop object.

  • shop.name The name of your Shopify store (e.g. Snowdevil).
  • shop.domain The domain of your Shopify store (e.g. snowdevil.myshopify.com).
  • shop.contact_email The primary contact email of your Shopify store. (e.g. sales@snowdevil.com)

Customer

The following attributes are available on the customer object.

  • customer.name The full name of a customer. (e.g. John Smith)
  • customer.first_name The first name of a customer (e.g. John)
  • customer.last_name The last name of a customer (e.g. Smith)
  • customer.email The customer’s email address, if available.
  • customer.phone The customer’s phone number, if available.
  • customer.locale The customer’s preferred language (e.g. en, fr, es, etc).

Order

The following attributes are available on the order object.

  • order.name The human-readable name of orders. (e.g. #1000)
  • order.type By default, Alpaca tags every order with the order type. (e.g. alpaca:pickup, alpaca:delivery, alpaca:online)
  • order.order_status_url The URL of the order status page.
  • order.pickup_schedule_url The URL where customers can go to (re)schedule a pickup time.
  • order.delivery_schedule_url The URL where customers can go to (re)schedule a delivery time.

Attributes

  • attributes['Pickup location'] The address where customers pick up orders from.
  • attributes['Pickup time'] The pickup time selected by the customer, if available.
  • attributes['Deliver from'] The address where the order will be delivered from.
  • attributes['Delivery time'] The delivery time selected by the customer, if available.

Location

The following attributes are available on the location object.

  • location.address The address of this location (e.g. 150 Elgin Street, Ottawa)
  • location.name The internal name of this location (e.g. Warehouse)
  • location.pickup_instructions The pickup instructions for this location.

More support articles

Display per-location inventory on product pages

Let your customers know which locations have items in stock

Updated on September 30, 2021

Custom messaging for ineligible carts and locations

Notify users when their cart or location isn't eligible for pickup or delivery

Updated on June 14, 2021

Location-specific notifications

Notify locations when they receive orders

Updated on May 18, 2021

Add Alpaca to checkout.liquid

Integrate Alpaca on your checkout. For Shopify Plus customers only.

Updated on April 13, 2021

Require advance notice for scheduled pickup / delivery

Specify how much time you need to prepare for pickup and delivery orders.

Updated on April 8, 2021

Configure your own Google Maps API key

How to get a Google Maps API key so you can enable address autocomplete

Updated on April 8, 2021

Disable ordering until orders are marked as packed

Don't let customers schedule a pickup or delivery until the order is marked as packed

Updated on April 8, 2021

Prevent out-of-stock inventory when checking out

Prompt customers to remove out-of-stock inventory when they try to check out

Updated on April 6, 2021

How to show Alpaca's rates in your checkout

Add Alpaca rates to your Shopify shipping profiles

Updated on April 6, 2021

Theme integration placement

Control where Alpaca appears on your theme

Updated on March 26, 2021

Removing Alpaca from your theme

How to completely remove Alpaca from your online store

Updated on March 24, 2021

Customize Shopify's native email and SMS notifications

How to display pickup information in your email and SMS notifications

Updated on March 23, 2021

Update an order's delivery method

Manually change an order's delivery method and/or scheduled date and time

Updated on March 22, 2021

Disable rescheduling

Don't let your customers reschedule their pickup/delivery date and time

Updated on March 17, 2021

Carrier Service

How Alpaca adds pickup and delivery rates to your checkout

Updated on March 17, 2021

Prevent mixed carts

Prompt customers to remove items which aren't eligible for their selected delivery method.

Updated on March 16, 2021

Removing the shipping option from delivery methods

How to hide the shipping delivery method in Alpaca's theme integration

Updated on March 6, 2021

Require customers to schedule a pickup/delivery before checkout

Ensure your customers pick a time before completing their checkout

Updated on March 5, 2021

Non-physical items and shipping rates

Why shipping rates and delivery methods may not appear on your website

Updated on March 5, 2021

Optimized local delivery routes

Generate optimized delivery routes for your Shopify orders

Updated on March 5, 2021

Restrict pickup/delivery dates for specific products

Great for handling pre-orders and seasonal products

Updated on March 4, 2021

Hiding line item attributes

How to hide _alpaca_id attributes from appearing

Updated on December 9, 2020

Delivery rates by zip / postal code

How to restrict local delivery rates to specific zip or postal codes

Updated on August 25, 2020

How to add or edit pickup schedules

Set when you offer pickup and other options regarding curbside pickup

Updated on June 2, 2020

How to add or edit local delivery rates

Manage the prices and options for local delivery

Updated on June 2, 2020

Change the look-and-feel of the pickup call-to-action

How to modify the fonts and colors of the pickup CTA

Updated on June 2, 2020

Add a pickup call-to-action to your theme

How to display a pickup CTA on your storefront

Updated on June 2, 2020


Still need help?

Send us an email and we'll get back to you as soon as we can.

Free 14-day trial

Try Alpaca for free, no risk, no hassle

Get started