Commerce Tools

McBainKD
投稿者

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 いいね!
1件の返信
BérangèreL
コミュニティーマネージャー
コミュニティーマネージャー

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





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More