> For the complete documentation index, see [llms.txt](https://docs.hubyte.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hubyte.de/dropshipping-bestellung-an-lieferanten-herstelle/english-documentation/supplier-in-storefront.md).

# Using the supplier in the storefront

The plugin makes the supplier object available at various places in the Shopware storefront. The following snippets can be used in custom theme overrides (Twig templates).

***

## Product detail page

```twig
{{ page.product.extensions.supplier }}                  {# Supplier object #}
{{ page.product.extensions.supplier.translated.name }}  {# Supplier name #}
```

***

## Offcanvas cart

```twig
{% for lineItem in page.cart.lineItems %}
  {{ lineItem.extensions.supplier }}                  {# Supplier object #}
  {{ lineItem.extensions.supplier.translated.name }}  {# Supplier name #}
{% endfor %}
```

***

## Cart & checkout pages (Cart, Checkout, Finish)

```twig
{% sw_extends '@Storefront/storefront/page/checkout/checkout-item.html.twig' %}

{% block page_checkout_item_info_ordernumber %}
{{ parent() }}

{{ lineItem.extensions.supplier }}                  {# Supplier object #}
{{ lineItem.extensions.supplier.translated.name }}  {# Supplier name #}
{% endblock %}
```

***

## Account order history

```twig
{% sw_extends '@Storefront/storefront/page/account/order-history/order-detail-list-item.html.twig' %}

{% block page_account_order_item_detail_variants %}
{{ parent() }}

{{ lineItem.extensions.supplier }}                  {# Supplier object #}
{{ lineItem.extensions.supplier.translated.name }}  {# Supplier name #}
{% endblock %}
```

***

## Documents (invoices, delivery notes)

```twig
{{ lineItem.extensions.supplier.translated.name }}
```

***

## Email templates

In dropshipping email templates the supplier name is available via the `item` object:

```twig
{{ item.supplier.translated.name }}
```

For all other email template variables see [Email templates](/dropshipping-bestellung-an-lieferanten-herstelle/english-documentation/email-templates.md).
