{"id":145308,"date":"2026-09-14T07:06:26","date_gmt":"2026-09-14T07:06:26","guid":{"rendered":"https:\/\/docs.daftra.com\/?post_type=faq&#038;p=145308"},"modified":"2026-09-14T07:06:49","modified_gmt":"2026-09-14T07:06:49","slug":"where-do-i-add-the-two-variables-to-the-template","status":"publish","type":"faq","link":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/","title":{"rendered":"Where do I add the two variables to the template?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">The <\/span><b>&#8220;Earned Loyalty Points&#8221;<\/b><span style=\"font-weight: 400;\"> and <\/span><b>&#8220;Loyalty Points Balance&#8221;<\/b><span style=\"font-weight: 400;\"> variables only appear when the <\/span><b>&#8220;Clients Loyalty Points&#8221;<\/b><span style=\"font-weight: 400;\"> app is enabled; if the app is disabled, they disappear completely from the list.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">From the sidebar menu, go to <\/span><b>Templates<\/b><span style=\"font-weight: 400;\">, then <\/span><b>Printable Templates<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select <\/span><b>Invoices and Estimates<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open an existing invoice template or create a new design.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">From the left-hand sidebar inside the design builder, click <\/span><b>Custom Fields<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>Add More Fields<\/b><span style=\"font-weight: 400;\"> button.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select the required variable from the dropdown list:<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Earned Loyalty Points<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Loyalty Points Balance<\/b><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once the field is added, it appears in the added fields list with two arrows (\u25b2\u25bc) next to it \u2014 use them to change the field&#8217;s position (up or down) within the additional fields list.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Save<\/b><span style=\"font-weight: 400;\"> to apply the changes<\/span><\/li>\n<\/ol>\n","protected":false},"author":39,"template":"","categories":[2064,2067],"tags":[15445,15440,15443,15441,15444,15447,15446,15442],"class_list":["post-145308","faq","type-faq","status-publish","hentry","category-templates","category-printable-templates","tag-add-more-fields-button","tag-adding-loyalty-points-variables-to-a-template","tag-custom-fields-in-the-design-builder","tag-earned-loyalty-points-and-loyalty-points-balance","tag-enable-the-clients-loyalty-points-app","tag-invoice-and-estimate-templates","tag-reordering-fields-with-the-arrows","tag-where-do-i-add-the-two-variables-to-the-template"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Where do I add the two variables to the template? - Daftra Knowledge Base<\/title>\n<meta name=\"description\" content=\"Learn how to add the Earned Loyalty Points and Loyalty Points Balance variables to a template.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Where do I add the two variables to the template? - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Learn how to add the Earned Loyalty Points and Loyalty Points Balance variables to a template.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-14T07:06:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/\",\"name\":\"Where do I add the two variables to the template? - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-09-14T07:06:26+00:00\",\"dateModified\":\"2026-09-14T07:06:49+00:00\",\"description\":\"Learn how to add the Earned Loyalty Points and Loyalty Points Balance variables to a template.\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Where do I add the two variables to the template?\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Where do I add the two variables to the template? - Daftra Knowledge Base","description":"Learn how to add the Earned Loyalty Points and Loyalty Points Balance variables to a template.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/","og_locale":"en_US","og_type":"article","og_title":"Where do I add the two variables to the template? - Daftra Knowledge Base","og_description":"Learn how to add the Earned Loyalty Points and Loyalty Points Balance variables to a template.","og_url":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-09-14T07:06:49+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/#webpage","url":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/","name":"Where do I add the two variables to the template? - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-09-14T07:06:26+00:00","dateModified":"2026-09-14T07:06:49+00:00","description":"Learn how to add the Earned Loyalty Points and Loyalty Points Balance variables to a template.","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/faq\/where-do-i-add-the-two-variables-to-the-template\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Where do I add the two variables to the template?"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/145308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/39"}],"version-history":[{"count":1,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/145308\/revisions"}],"predecessor-version":[{"id":145312,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/145308\/revisions\/145312"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=145308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=145308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=145308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}