APIs & Integrations

VPawar5
Member

Quote Template Not Displaying “Bill To” / “Ship To” Address – CRM Deal Data Missing

SOLVE

Hi HubSpot Team,

I'm customizing a quote template (based on the Modern theme), and I'm having issues displaying billing and shipping address info.

Here's the code I’m using:
```html
<p><strong>Bill To:</strong> {{ template_data.quote.billing_address }}</p>
<p><strong>Ship To:</strong> {{ template_data.quote.shipping_address }}</p>

0 Upvotes
2 Accepted solutions
SteveHTM
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Quote Template Not Displaying “Bill To” / “Ship To” Address – CRM Deal Data Missing

SOLVE

@VPawar5 - I always find it useful to try and debug this kind of token reference by temporarily displaying the available data using pprint. As in:
{{template_data.quote | pprint}}

This gives you confidence that the data you want is actually available under the chosen name.

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature

View solution in original post

kosalaindrasiri
Solution
Top Contributor | Partner
Top Contributor | Partner

Quote Template Not Displaying “Bill To” / “Ship To” Address – CRM Deal Data Missing

SOLVE

Hi @VPawar5,

As @SteveHTM  mentioned, I am usually trying identifying the issue by temporarily displaying the available data using:

<pre>{{ template_data|pprint }}</pre>

Then you can copy and paste the output into a text editor or elsewhere to check whether the value you need is present.

 

Tip: 

Additionally, if your quote template extends layout/base.html, you can directly access the value using {{ QUOTE }} instead of {{ template_data.quote }}, since these values are already assigned to variables in the base layout (please refer to the attached screenshot).

 

kosalaindrasiri_0-1747935782752.png

 

 

Regards,

Kosala

Kosala Indrasiri

CEO

Sanmark Solutions PVT LTD
mobilePhone
+94 91 226 1501 | +94 71 601 2109
emailAddress
kosala@thesanmark.com
website
www.sanmarksolutions.com
linkedinwhatsapp
Book a Consultation

Did my post help answer your question? Mark this as a solution.

View solution in original post

3 Replies 3
kosalaindrasiri
Solution
Top Contributor | Partner
Top Contributor | Partner

Quote Template Not Displaying “Bill To” / “Ship To” Address – CRM Deal Data Missing

SOLVE

Hi @VPawar5,

As @SteveHTM  mentioned, I am usually trying identifying the issue by temporarily displaying the available data using:

<pre>{{ template_data|pprint }}</pre>

Then you can copy and paste the output into a text editor or elsewhere to check whether the value you need is present.

 

Tip: 

Additionally, if your quote template extends layout/base.html, you can directly access the value using {{ QUOTE }} instead of {{ template_data.quote }}, since these values are already assigned to variables in the base layout (please refer to the attached screenshot).

 

kosalaindrasiri_0-1747935782752.png

 

 

Regards,

Kosala

Kosala Indrasiri

CEO

Sanmark Solutions PVT LTD
mobilePhone
+94 91 226 1501 | +94 71 601 2109
emailAddress
kosala@thesanmark.com
website
www.sanmarksolutions.com
linkedinwhatsapp
Book a Consultation

Did my post help answer your question? Mark this as a solution.

SteveHTM
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Quote Template Not Displaying “Bill To” / “Ship To” Address – CRM Deal Data Missing

SOLVE

@VPawar5 - I always find it useful to try and debug this kind of token reference by temporarily displaying the available data using pprint. As in:
{{template_data.quote | pprint}}

This gives you confidence that the data you want is actually available under the chosen name.

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
DianaGomez
Community Manager
Community Manager

Quote Template Not Displaying “Bill To” / “Ship To” Address – CRM Deal Data Missing

SOLVE

Hi @VPawar5,

 

Thanks for reaching out to the Community!

 

I would like to invite some members of our community who may offer valuable insights.— hey @GiantFocal, @CarolinaDeMares, @SteveHTM   - Could you share your advice with @VPawar5?

 

Thanks for taking a look!

Diana


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


¿Sabías que la Comunidad está disponible en Español?
¡Participa hoy en conversaciones en el idioma de tu preferencia,cambiando el idioma en tus configuarciones!
0 Upvotes