Custom Quote Template Beta

BGrennan
Contributor

Sender Avatar?

I'm struggling to find the right variable for this.

 

I've used both: 

<img src="{{ personalization_token('template_data.quote.hs_logo_url', '') }}">

and

<img src="{{ personalization_token('template_data.quote.hs_sender_company_image_url', '') }}">

 

Both return verisons of the company logo.

 

When editing the template at sales/products/quote-templates/edit hs_sender_company_image_url shows what you would think would be the placeholder for an avatar (grey head on grey background) but in the actual quote it's not pulling in the sender (my) avatar, it's the company logo

 

5 Replies 5
dmytro
Participant

Sender Avatar?

Hey guys

Have you found a solution? I even try to use {{ personalization_token('template_data.quote.hs_sender_image_url') }}, but it didn't help 

BarryGrennan
Top Contributor

Sender Avatar?

I beleive in another thread they said there is no variable for this yet.

My workaround was to create a folder for sender profile pictures and establish a naming and file type convention.

 

So if "John Smith" is the sender, in my "agent profile pictures" folder, I'd have "John-Smith.jpg

 

Then in my template or module I have:

 

 

<img src="[URL FOR PORAL GOES HERE]/agent-profile-pictures/{{ personalization_token('template_data.quote.hs_sender_firstname', '') }}-{{ personalization_token('template_data.quote.hs_sender_lastname', '') }}.jpg">

 

 

 

It's not as simple as you'd want (i.e. a straight forward variable you could use) but it works.

 


profile2022aBarry Grennan

Freelance HubSpot CMS Developer

Website | Contact

 

 

dmytro
Participant

Sender Avatar?

Thanks @BarryGrennan 

This solution is great

0 Upvotes
JDavis48
Participant | Platinum Partner
Participant | Platinum Partner

Sender Avatar?

I am also interested in this. If you preview the Standard:Original and Standard:Modern quote templates, they display the sender's avatar image. There must be an easy variable for this, like {{ template_data.quote.hs_sender_avatar }}, but I'm unable to figure it out.

0 Upvotes
BGrennan
Contributor

Sender Avatar?

Any Ideas on this? Had one of their team members create a quote thinking that perhaps it had something to do with mine being an "outside" account. But same story. Logo instead of avatar.

0 Upvotes