# Customise quote template in CMS

**URL:** <https://community.hubspot.com/t/customise-quote-template-in-cms/134119>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [June 7, 2025, 3:31am UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119 "2025-06-07T03:31:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JLow16](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JLow16](https://community.hubspot.com/u/JLow16)\
**Post date:** [June 7, 2025, 3:31am UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/1 "2025-06-07T03:31:57Z")

</div>

Hi!

When we creates a child.css from original.html to customise the CMS template, do we need to copy the whole code from original to child and edit from there?

---

<div class="post-metadata">

**Author:** ![felixmacaspac](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/felixmacaspac/32/33923_2.png) [@felixmacaspac](https://community.hubspot.com/u/felixmacaspac)\
**Post date:** [June 7, 2025, 6:10am UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/2 "2025-06-07T06:10:01Z")

</div>

Hi @JLow16 there’s no need to copy the whole code from the original template. The main purpose of the child themes is to be able to modify the parent theme without directly changing or modifying something in the parent theme or the original theme.

You can learn more about child themes here. [Child Themes - HubSpot docs](https://developers.hubspot.com/docs/guides/cms/content/themes/child-themes)

---

<div class="post-metadata">

**Author:** ![JLow16](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JLow16](https://community.hubspot.com/u/JLow16)\
**Post date:** [June 8, 2025, 9:44am UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/3 "2025-06-08T09:44:18Z")

</div>

Thank you @felixmacaspac! I am trying to edit the Flow template child theme to allow showing more than one recipient company in the quote when more than one company is associated to the deal. Can you advise the code to use please? I have the below but doesn’t seems to work.

{% set all\_companies = quote.associations.companies %}  
{% if all\_companies|length \> 0 %}  
\<h3\>Quote For:\</h3\>  
\<p\>  
{{ all\_companies[0].name }}\<br\>  
{{ all\_companies[0].address }}\<br\>  
{{ all\_companies[0].city }}, {{ all\_companies[0].state }} {{ all\_companies[0].zip }}  
\</p\>

{% if all\_companies|length \> 1 %}  
\<h3\>Also Sent To:\</h3\>  
\<p\>  
{{ all\_companies[1].name }}\<br\>  
{{ all\_companies[1].address }}\<br\>  
{{ all\_companies[1].city }}, {{ all\_companies[1].state }} {{ all\_companies[1].zip }}  
\</p\>  
{% endif %}  
{% else %}  
\<p\>\<em\>No associated companies.\</em\>\</p\>  
{% endif %}

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 11, 2025, 5:53pm UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/4 "2025-06-11T17:53:23Z")

</div>

Hey hey @JLow16 👋 Have you tried using a for loop instead?

```lia-code-sample
{% set all_companies = quote.associations.companies.items %}
{% if all_companies|length > 0 %}
 <h3>Quote For:</h3>

 {% for company in all_companies %}
 {% if loop.first %}
 <h4>Primary Company:</h4>
 {% else %}
 <h4>Additional Company:</h4>
 {% endif %}
 <p>
 {{ company.name }}<br>
 {{ company.address }}<br>
 {% if company.city and company.state and company.zip %}
 {{ company.city }}, {{ company.state }} {{ company.zip }}
 {% endif %}
 </p>
 {% endfor %}

{% else %}
 <p><em>No associated companies.</em></p>
{% endif %}

```

Talk soon! — Jaycee

---

<div class="post-metadata">

**Author:** ![JLow16](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JLow16](https://community.hubspot.com/u/JLow16)\
**Post date:** [June 13, 2025, 7:48pm UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/5 "2025-06-13T19:48:21Z")

</div>

Hey [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) 👋! thanks so much for the advise.

I tried and got the below. I tried creating a quote for a deal that has 2 company associated using the template but can’t get both to show under recipient company.

 ![JLow16_0-1749843988267.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/2/12e0abb46425d9c7a2c356a66b9ea865477737e9.jpeg)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 22, 2025, 7:16pm UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/6 "2025-07-22T19:16:21Z")

</div>

Hey @JLow16 Did you ever get this worked out? If not, I am happy to test again with you. — Jaycee

---

<div class="post-metadata">

**Author:** ![JLow16](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JLow16](https://community.hubspot.com/u/JLow16)\
**Post date:** [July 24, 2025, 11:41am UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/7 "2025-07-24T11:41:51Z")

</div>

hey [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074), thank you for checking back. Sadly no, I didn’t manage to get the desired result or CMS output after multiple testing.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 25, 2025, 9:04pm UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/8 "2025-07-25T21:04:26Z")

</div>

Dang it. I’ll make a test and follow up here — Jaycee

---

<div class="post-metadata">

**Author:** ![JLow16](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JLow16](https://community.hubspot.com/u/JLow16)\
**Post date:** [July 28, 2025, 9:06am UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/9 "2025-07-28T09:06:04Z")

</div>

Appreciate it Jaycee! I’m editing using the Flow theme child.css, if that’s helpful.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 4, 2025, 9:07pm UTC](https://community.hubspot.com/t/customise-quote-template-in-cms/134119/10 "2025-08-04T21:07:28Z")

</div>

Hey, @JLow16 👋

```lia-code-sample
{% set all_companies = quote.associations.companies %}

{% if all_companies|length > 0 %}
 <h3>Quote For:</h3>

 {% for company in all_companies %}
 {% if loop.first %}
 <h4>Primary Company:</h4>
 {% else %}
 <h4>Additional Company:</h4>
 {% endif %}
 <p>
 {{ company.name }}<br>
 {{ company.address }}<br>
 {% if company.city and company.state and company.zip %}
 {{ company.city }}, {{ company.state }} {{ company.zip }}
 {% endif %}
 </p>
 {% endfor %}
{% else %}
 <p><em>No associated companies.</em></p>
{% endif %}

```

I wonder if this gets us any closer to your goal 🤔 — Jaycee
