Commerce Tools

McBainKD
Contributor

Is there a way to associate a specific personalization token to a product record?

Hey all,

 

This might be hyper-specific, but I was messing around with personalization tokens on the Quotes functionality.

I originally had edited some Product properties to help customize the layout of the quote to be custom to what products are selected, and realized that initially it only pulled from the Primary Product associated (or the first one in the Quote).

 

I figured out how to change it to other products in the Quote by selecting the [2] in the example below and editing it:

 

<td style="width: 57.1034%; padding: 4px; vertical-align: middle; height: 45px; text-align: left;">
<p>{{personalization_token('template_data.quote.associated_objects.line_items[2].schedule_b__label', '') }}</p>
</td>

 

 

What I was wondering was, is it possible to change this to attribute to a specific product ID? Or specific product if it's on the quote?

0 Upvotes
1 Reply 1
BérangèreL
Community Manager
Community Manager

Is there a way to associate a specific personalization token to a product record?

Hi @McBainKD, I hope that you are well!

Great question, thanks for asking the Community!

I'd like to invite our some of our Top Experts to this discussion: Hi @Jnix284, @HubDoPete and @Bryantworks have you tried this specific use case for yourself and/or for customers? Do you have suggestions to help @McBainKD, please?

Thanks so much and have a wonderful day!

Best,
Bérangère


Saviez-vous que la Communauté est disponible en Français ?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings!