{"id":358,"date":"2025-05-03T06:26:58","date_gmt":"2025-05-03T06:26:58","guid":{"rendered":"http:\/\/www.soapandseife.com\/?p=358"},"modified":"2025-05-03T23:36:50","modified_gmt":"2025-05-03T23:36:50","slug":"personalized-signature-on-quotes","status":"publish","type":"post","link":"http:\/\/www.soapandseife.com\/index.php\/2025\/05\/03\/personalized-signature-on-quotes\/","title":{"rendered":"Personalized Signature on Quotes"},"content":{"rendered":"

Hi! I’m working on personalize quote module for quote signature.
The standard code is:<\/P><\/p>\n

{# Localize the ordering of first and last name #}
\n{% macro localize_signer_names(signers, use_honorific) -%}
\n{% for signer in signers %}
\n{% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %}
\n{% do signer.update({ “full_name”: signer_full_name }) %}
\n{% endfor %}
\n{%- endmacro %}
\n

Now I need to add signer.company (fields taken from contact record) in signer_full_name, if I add:<\/P>
\n{% set signer_full_name = format_name(signer.company, signer.first_name, signer.last_name, use_honorific) %}
\n


It doesn’t work.
In what module I’ve to setup also company field?
Thanks<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

Hi! I’m working on personalize quote module for quote signature.The standard code is: {# Localize the ordering of first and last name #} {% macro localize_signer_names(signers, use_honorific) -%} {% for signer in signers %} {% set signer_full_name = format_name(signer.first_name, signer.last_name, use_honorific) %} {% do signer.update({ “full_name”: signer_full_name }) %} {% endfor %} {%- endmacro %}…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts\/358"}],"collection":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":1,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":359,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts\/358\/revisions\/359"}],"wp:attachment":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}