{"id":135,"date":"2017-03-02T14:36:31","date_gmt":"2017-03-02T14:36:31","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice-new\/?p=135"},"modified":"2023-10-03T09:46:37","modified_gmt":"2023-10-03T09:46:37","slug":"insert-new-user-details-documents","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/","title":{"rendered":"Insert new user details in documents"},"content":{"rendered":"\n<p>To insert any information related to the user, for either the customer invoice and\/or the packing slip details, use the postmeta metakeys as placeholders within double curly brackets.<\/p>\n\n\n\n<p>For example: <strong>{{_shipping_first_name}}<\/strong> to show the order shipping first name.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg\" alt=\"Customer invoice details\" class=\"wp-image-1194\" style=\"width:571px;height:262px\" width=\"571\" height=\"262\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg 950w, https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details-300x138.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details-768x352.jpg 768w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/46.customer-packing-slip-details.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/46.customer-packing-slip-details.jpg\" alt=\"Customer packing slip details\" class=\"wp-image-1195\" style=\"width:618px;height:281px\" width=\"618\" height=\"281\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/46.customer-packing-slip-details.jpg 988w, https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/46.customer-packing-slip-details-300x137.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/46.customer-packing-slip-details-768x350.jpg 768w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/a><\/figure>\n\n\n\n<p>Below, the complete list of placeholders that you can use:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>{{_customer_note}}<\/li>\n\n\n\n<li>{{_customer_user}}<\/li>\n\n\n\n<li>{{_order_key}}<\/li>\n\n\n\n<li>{{_order_currency}}<\/li>\n\n\n\n<li>{{_billing_first_name}}<\/li>\n\n\n\n<li>{{_billing_last_name}}<\/li>\n\n\n\n<li>{{_billing_company}}<\/li>\n\n\n\n<li>{{_billing_address_1}}<\/li>\n\n\n\n<li>{{_billing_address_2}}<\/li>\n\n\n\n<li>{{_billing_city}}<\/li>\n\n\n\n<li>{{_billing_state}}<\/li>\n\n\n\n<li>{{_billing_postcode}}<\/li>\n\n\n\n<li>{{_billing_country}}<\/li>\n\n\n\n<li>{{_billing_email}}<\/li>\n\n\n\n<li>{{_billing_phone}}<\/li>\n\n\n\n<li>{{_shipping_first_name}}<\/li>\n\n\n\n<li>{{_shipping_last_name}}<\/li>\n\n\n\n<li>{{_shipping_company}}<\/li>\n\n\n\n<li>{{_shipping_address_1}}<\/li>\n\n\n\n<li>{{_shipping_address_2}}<\/li>\n\n\n\n<li>{{_shipping_city}}<\/li>\n\n\n\n<li>{{_shipping_state}}<\/li>\n\n\n\n<li>{{_shipping_postcode}}<\/li>\n\n\n\n<li>{{_shipping_country}}<\/li>\n\n\n\n<li>{{_completed_date}}<\/li>\n\n\n\n<li>{{_paid_date}}<\/li>\n\n\n\n<li>{{_edit_lock}}<\/li>\n\n\n\n<li>{{_edit_last}}<\/li>\n\n\n\n<li>{{_cart_discount}}<\/li>\n\n\n\n<li>{{_cart_discount_tax}}<\/li>\n\n\n\n<li>{{_order_shipping}}<\/li>\n\n\n\n<li>{{_order_shipping_tax}}<\/li>\n\n\n\n<li>{{_order_tax}}<\/li>\n\n\n\n<li>{{_order_total}}<\/li>\n\n\n\n<li>{{_payment_method}}<\/li>\n\n\n\n<li>{{_payment_method_title}}<\/li>\n\n\n\n<li>{{_transaction_id}}<\/li>\n\n\n\n<li>{{_customer_ip_address}}<\/li>\n\n\n\n<li>{{_customer_user_agent}}<\/li>\n\n\n\n<li>{{_created_via}}<\/li>\n\n\n\n<li>{{_order_version}}<\/li>\n\n\n\n<li>{{_prices_include_tax}}<\/li>\n\n\n\n<li>{{_date_completed}}<\/li>\n\n\n\n<li>{{_date_paid}}<\/li>\n\n\n\n<li>{{_payment_tokens}}<\/li>\n\n\n\n<li>{{_billing_address_index}}<\/li>\n\n\n\n<li>{{_shipping_address_index}}<\/li>\n\n\n\n<li>{{_recorded_sales}}<\/li>\n\n\n\n<li>{{_recorded_coupon_usage_count}}<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To insert any information related to the user, for either the customer invoice and\/or the packing slip details, use the postmeta metakeys as placeholders within double curly brackets. For example: {{_shipping_first_name}} to show the order shipping first name. Below, the complete list of placeholders that you can use:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,7],"tags":[],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-pdf-templates","category-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH PDF Invoice: Insert new user details in documents<\/title>\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.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH PDF Invoice: Insert new user details in documents\" \/>\n<meta property=\"og:description\" content=\"To insert any information related to the user, for either the customer invoice and\/or the packing slip details, use the postmeta metakeys as placeholders within double curly brackets. For example: {{_shipping_first_name}} to show the order shipping first name. Below, the complete list of placeholders that you can use:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce PDF Invoices &amp; Packing Slips\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-02T14:36:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-03T09:46:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/\",\"name\":\"YITH PDF Invoice: Insert new user details in documents\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg\",\"datePublished\":\"2017-03-02T14:36:31+00:00\",\"dateModified\":\"2023-10-03T09:46:37+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg\",\"width\":950,\"height\":436},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Insert new user details in documents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/\",\"name\":\"YITH WooCommerce PDF Invoices & Packing Slips\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH PDF Invoice: Insert new user details in documents","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.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/","og_locale":"en_US","og_type":"article","og_title":"YITH PDF Invoice: Insert new user details in documents","og_description":"To insert any information related to the user, for either the customer invoice and\/or the packing slip details, use the postmeta metakeys as placeholders within double curly brackets. For example: {{_shipping_first_name}} to show the order shipping first name. Below, the complete list of placeholders that you can use:","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/","og_site_name":"YITH WooCommerce PDF Invoices & Packing Slips","article_published_time":"2017-03-02T14:36:31+00:00","article_modified_time":"2023-10-03T09:46:37+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/","name":"YITH PDF Invoice: Insert new user details in documents","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg","datePublished":"2017-03-02T14:36:31+00:00","dateModified":"2023-10-03T09:46:37+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-content\/uploads\/sites\/265\/2023\/10\/45.customer-invoice-details.jpg","width":950,"height":436},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/settings\/insert-new-user-details-documents\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/"},{"@type":"ListItem","position":2,"name":"Insert new user details in documents"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/","name":"YITH WooCommerce PDF Invoices & Packing Slips","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":13,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":1196,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/posts\/135\/revisions\/1196"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-pdf-invoice\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}