Leveraging Updated Pass Data with Neostore API
Introduction
When managing digital pass templates, it is often necessary to update and display modified information dynamically. This guide will walk you through the process of editing your pass templates, utilizing Liquid Language to incorporate changes seamlessly, and ensuring your updates are properly reflected. By following these steps, you can maintain accurate and up-to-date information in your Apple or Google Wallet passes.
Displaying Modified Information in Your Pass Template
To display modified information in your Pass Template, follow these steps:
Step 1: Ensure You Have the Information You Want to Use
Ensure you have correctly modified your pass information. If you need guidance on how to modify your pass, see more information in this article: Updating Pass Properties with Neostore API.
Then follow these instructions:
- Go to Wallet > Passes > Select a pass clicking in the three bullet icon > View Data
Here you can see the properties of a pass.
Step 2: Use Modified Information in the Pass Template
Now, we will use the information that was modified in your pass to update the pass template.
- Go to Wallet > Templates: Here you will see a list of your pass templates. Click the edit button on the right side of a row to access the template details.
3. Modify Data Using Liquid Language: You can use the modified data in Apple or Google by incorporating Liquid Language. Learn more about Liquid Language here.
Example Usage
- Select Where to Use: Choose the section where you want to apply the modifications. Our sections are divided into categories that you can expand and customize.
- Deploy the Option: Expand the relevant section to make your changes.
- Write Down the Properties or Go to Code Editor: Enter the necessary properties directly or use the Code Editor (icon <>) for advanced modifications.
- Save: Save your changes.
Now, test your pass to see the new changes reflected in your pass template. For instructions on how to install a pass via our QR Code link, refer to our other article: How to Install a Pass on Your Phone.
Additional Notes
-
Liquid Language: Liquid is a template language used to create dynamic content. It is utilized in many web applications, including Shopify. It allows you to insert variables, perform loops, and make conditional statements in your templates.
-
Testing: Always test your pass after making changes to ensure everything is displayed correctly.
By following these steps, you can effectively modify and display information in your pass templates.