Currency column in Quote

Hi there,

I have a couple questions about Quote optimization at our company.

  1. We have added a column to our quotes that shows the original RRP (recommended retail price) of the quoted product. This property is setup as a currency field type, just as the other columns in the quote. However, somehow this column doesn’t show up with a currency symbol and I’m unsure why that is. See attached image for a screenshot.

  2. Is it possible to not show the ‘comments’ section when nothing is filled in by the account manager as a comment in the quote? Or do we need to use the fallback value and always show it, but with a remark that there are no comments for this quote?

  3. Is it possible to include a ‘suggestion / alternative’ product with amount * quoted price in the line items of a quote but doesn’t add up to the total amount. So it really shows up as a suggestion instead of part of the quote? Or do we need to make 2 different quotes for example?

Thanks for your help!

Hey @marijnbe,

as far as I know, the currency property doesn’t display the currency symbol unless you format it in the code with the format_currency_value filter

as for the not showing the comments, it’s possible.

Look for the comment module in the quote template which should look something like this

<section class="comments">
    {% module "comments"
      label="Comments"
      path="@hubspot/rich_text"
      html={{
        "<h4>" ~ template_translations.comments.message ~ "</h4>" ~ 
      ptoken_comments
      }}
    %}
  </section>

and modify it to

{% unless ptoken_comments == "" or ptoken_comments == null %}
<section class="comments">
    {% module "comments"
      label="Comments"
      path="@hubspot/rich_text"
      html={{
        "<h4>" ~ template_translations.comments.message ~ "</h4>" ~
        ptoken_comments
      }}
    %}
  </section>
{% endunless %}

I’d say it’s possible to add a suggestion/alternative product, but this will require a more advanced quote modification on the code level. The easiest way would be to create a custom module to display/select products and put it into the quote. This would exclude those added products from the total amount

best,

Anton

Hi Anton, @Anton

Thanks for your provided solutions, however could you point me to the exact locations where I need to implement the currency value filter and comments module change? Non developer speaking here.

I’m unsure where to put the filter since it’s (obviously) not in the quote code yet. Also the comments section looks different (perhaps because we’re a Legacy user?) as you can see below. We have a div instead of section.

 <div class="container comments">
    <div class="comments-text_wrapper">
      {% module "comments"
        label="Comments"
        path="@hubspot/rich_text"
        html={{
          "<h2>" ~ template_translations.comments_from.message ~ " " ~ ptoken_sender_full_name ~ "</h2>" ~
          ptoken_comments
        }}
      %}
    </div>
  </div>

We can always setup a private chat if you prefer.

Thanks!

Hey @marijnbe,

no worries.

this is still the legacy code as the new quotes aren’t accessible/editable on a code level via the Design-Manager.

Just wrap the whole code in the unless-statement like this

{% unless ptoken_comments == "" or ptoken_comments == null %}
 <div class="container comments">
    <div class="comments-text_wrapper">
      {% module "comments"
        label="Comments"
        path="@hubspot/rich_text"
        html={{
          "<h2>" ~ template_translations.comments_from.message ~ " " ~ ptoken_sender_full_name ~ "</h2>" ~
          ptoken_comments
        }}
      %}
    </div>
  </div>
{% endunless %}

best,
Atnon

Hey @marijnbe, if you’d rather skip the code, our app DocuGen lets you lay out the quote in Word and type the currency symbol right next to the RRP field, so that column shows it with no filter to add. @Anton has the legacy template covered, but with DocuGen the layout is a normal Word doc anyone on the team can edit. For the suggested products, one recipe can generate the quote and a separate alternatives document in one click from the deal, and both save to the deal’s attachments.

Take a look at our listing on the marketplace.

P.S. The free plan gives you 400 documents a month with no watermark, and unlimited users so your account managers all get on at no cost.