When adding Text Nodes for a Catalog or Package product, dynamic text can be added to allow the value of the Text Node to be substituted without the need for hard-coded text or customer input. No more worrying about parents spelling their kid's name wrong (it happens, trust us).
|
|
Note: Not all labs support this feature, check with your customer success team in Slack if you are unsure. |
Dynamic Text Values will not appear as options in the shopping cart.
Adding Dynamic Text for a Text Node
- Add a Supplier Product with Text Nodes to a Catalog or Package.
- Click the Advanced Configuration button to reveal Text Node options.
- Select the Use Static Text for the desired Text Node.
- Enter a supported dynamic value to be resolved.
List of supported Dynamic Text options
The following values are supported as dynamic text options. These values must be surrounded by the curly braces {{ and }}:
-
{{websiteUrl}} -
{{websiteName}} -
{{client.label}} -
{{session.label}} -
{{session.accessCode}} -
{{order.orderReference}} -
{{order.recipientName}} -
{{order.recipientEmail}} -
{{subject.firstName}} -
{{subject.lastName}} -
{{subject.email}} -
{{subject.password}} -
{{subject.teacher}} -
{{subject.grade}} -
{{subject.gender}} -
{{subject.homeRoom}} -
{{subject.subjectId}} -
{{subject.organization}} -
{{subject.jerseyNumber}} -
{{subject.year}} -
{{subject.customData1}} -
{{subject.customData2}} -
{{subject.customData3}} -
{{subject.parent1FirstName}} -
{{subject.parent1LastName}} -
{{subject.parent1Email}} -
{{subject.parent1Phone}} -
{{subject.parent2FirstName}} -
{{subject.parent2LastName}} -
{{subject.parent2Email}} -
{{subject.parent2Phone}}
Text Node Character Limits
When a Direct Fulfillment Product contains a character limit for a specified text node, the Studio will be alerted if their entered text exceeds the defined character limit.
In the above example, a text node has been defined for this product with a character limit of 10. As the user is typing Static Text to be used for this node, entering any more than 10 characters will show a warning.