# Display Host Name in Shopping-With Toolbar

### To display the host's name in the Shopping-with Toolbar:

You can use the template tag {{host}} to display the host name in the shopping-with toolbar.&#x20;

To set it up, go to the Look and Feel > Toolbars > Shopping-with Toolbar > Click on **Customize**. Here, paste the following in the content field:

You are shopping with the {{affiliate\_name}} {{#host}} and the event host {{name}}{{/host}}

{% hint style="info" %}
The {{#host}} block is conditional. The text inside it is displayed only for party events.
{% endhint %}

<figure><img src="/files/ZWv5xNEU6dqEYALMxvWG" alt=""><figcaption><p>Display the affiliate and host name</p></figcaption></figure>

Example: If the affiliate's name is John and the host's name is Dan.

When opened as a regular link, it will display:\
**You are shopping with John**

When opened as a party link, it will display: \
**You are shopping with John and the event host Dan**

<figure><img src="/files/sP8WVzpo4MfB5Qr1eVW5" alt=""><figcaption><p>You are shopping with Affiliate name and Host name</p></figcaption></figure>

#### If you want to display either the name of the affiliate or the name of the host, you can set it to:

You are shopping with {^host}}{{affiliate\_name}}{{/host}}{{#host}}{{name}}{{/host}}

<figure><img src="/files/FClPzAOPCdbQIZtx7mFc" alt=""><figcaption><p>Display the affiliate name or host name</p></figcaption></figure>

With the regular link, it displays:\
**You are shopping with John**

With the party link, it displays:\
**You are shopping with Dan**

<figure><img src="/files/1wiPEwnaNlNNf1cKHKz1" alt=""><figcaption><p>You are shopping with Host name</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goaffpro.com/affiliate-portal-customization/toolbars/setup-shopping-with-toolbar/display-host-name-in-shopping-with-toolbar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
