Barcodify - Customer Selector
  • Getting started
    • Introduction
    • Design mobile wallet passes
    • Share "app-generated" barcodes with customers
      • Share barcodes in person
      • Share barcodes via Shopify notifications
      • Share barcodes via bulk messaging services
      • Place barcodes on the customer page
    • Synchronise "merchant-issued" custom barcodes with the app
      • Enter barcodes individually
      • Import barcodes
      • Populate barcodes from customer metafield
    • Bulk-export customers
    • Analytics
    • Add customers to the POS cart
    • Legacy (slower) ways to add customers
      • Shopify POS "Add customer" Smart Grid action
      • The app's Smart Grid actions
  • Troubleshooting
    • FAQs
      • Can I use one scanner to add products and customers?
      • What scanner should I get for customer barcodes?
    • Known issues & workarounds
      • "Add customer" POS extension no longer works
      • Expected a valid shop query parameter
      • Something went wrong. Please check your cart or try again.
  • Legal
    • Terms of Service
    • Privacy Policy
    • Sub-processors
Powered by GitBook
On this page
  • Shopify Email app
  • 1D barcode image
  • 2D QR code
  • "Add to Apple Wallet" button
  • "Add to Google Wallet" button
  • Troubleshooting
  • Other providers
  • Mailchimp
  • Klaviyo
  1. Getting started
  2. Share "app-generated" barcodes with customers

Share barcodes via bulk messaging services

Shopify Email app, Mailchimp, Klaviyo and other tools can be used to bulk send barcodes

PreviousShare barcodes via Shopify notificationsNextPlace barcodes on the customer page

Last updated 25 days ago

Other apps or emailing services usually don't have access to Shopify customer IDs. However, such services can still distribute barcodes as long as they support custom templates with customer email variables.

The app queries the email addresses provided via the link and embeds Shopify customer IDs into the barcodes. In order for this to work, the email addresses must be associated with Shopify customers.

Depending on the service used, email template variables may not be replaced with valid Shopify customer email addresses in preview or test emails, resulting in errors. To view the final result, please send an actual (non-test) email to an existing Shopify customer (can be fake) email address. This is a affecting preview/test emails.

Shopify Email app

To send barcodes and mobile wallet download buttons, include the following snippets into a custom Liquid section of your selected template.

1D barcode image

<img src="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/code128/{{shop.permanent_domain}}/emails/{{data.customer.email}}" />

2D QR code

<img src="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/qr/{{shop.permanent_domain}}/emails/{{data.customer.email}}" />

"Add to Apple Wallet" button

<a download href="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/apple/{{shop.permanent_domain}}/emails/{{data.customer.email}}"> <img src="https://barcodify-prod.s3.amazonaws.com/public/add-to-apple-wallet/Add_to_Apple_Wallet_rgb_US-UK.png" /> </a>

To localise the text of the "Add to Apple Wallet" button, simply replace Add_to_Apple_Wallet_rgb_US-UK.png with the selected language's file name in the snippet above. To see available localisations, download . For more information, check .

"Add to Google Wallet" button

<a href="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/google/{{shop.permanent_domain}}/emails/{{data.customer.email}}"> <img src="https://barcodify-prod.s3.amazonaws.com/public/add-to-google-wallet/enGB_add_to_google_wallet_wallet-button.png" /> </a>

Troubleshooting

If you notice the "Expected a valid shop query parameter", when trying to download mobile passes as in the example below

you may need to replace {{shop.permanent_domain}} with your store's myshopify.com domain name, e.g. my-store-name.myshopify.com as it appears in your store's settings.

For example, instead of

<a download href="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/apple/{{shop.permanent_domain}}/emails/{{data.customer.email}}"> <img src="https://barcodify-prod.s3.amazonaws.com/public/add-to-apple-wallet/Add_to_Apple_Wallet_rgb_US-UK.png" /> </a>

use

<a download href="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/apple/my-store-name.myshopify.com/emails/{{data.customer.email}}"> <img src="https://barcodify-prod.s3.amazonaws.com/public/add-to-apple-wallet/Add_to_Apple_Wallet_rgb_US-UK.png" /> </a>

Other providers

Usually, email providers do not have access to Shopify customer IDs or other data. If the email provider supports customisable templates with email variables, you can send the barcodes to your customers.

Below are a few commonly requested services.

Mailchimp

Klaviyo

To localise the text of the "Add to Google Wallet" button, simply replace enGB_add_to_google_wallet_wallet-button.png with the selected language's file name in the snippet above. To see available localisations, download . For more information, check .

Please don't confuse . To send barcodes via automated notifications such as order confirmation, check out the .

or the barcode images don't load up

Mailchimp supports email variables called . The merge tags are replaced with the underlying value (email in this case) the same way Liquid variables are. To send barcodes to your customers, replace {{data.customer.email}} with *|EMAIL|* and {{shop.permanent_domain}} with your store's myshopify.com domain name, e.g. my-store-name.myshopify.com

Klaviyo supports . To send barcodes to your customers, replace {{data.customer.email}} with {{email}} and {{shop.permanent_domain}} with your store's myshopify.com domain name, e.g. my-store-name.myshopify.com.

known issue in Shopify Email
Shopify Email
localised images
Add to Apple Wallet Guidelines
localised images
Add to Google Wallet Guidelines
Shopify Notifications with Shopify Email
instructions
Merge Tags
personalization tags
galmis-test.myshopify.com myshopify domain name