Share barcodes via bulk messaging services

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

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.

Shopify Email app

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

1D barcode image

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

2D QR code

<img src="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/barcodes/qr/{{shop.shopify_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.shopify_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 localised images. For more information, check Add to Apple Wallet Guidelines.

"Add to Google Wallet" button

<a href="https://select-customer-barcode-prod.herokuapp.com/public-api/v1/wallet/google/{{shop.shopify_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>

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 localised images. For more information, check Add to Google Wallet Guidelines.

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

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

Mailchimp supports email variables called Merge Tags. 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.shopify_domain}} with your store's myshopify.com domain name, e.g. my-store-name.myshopify.com

Klaviyo

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

Last updated