# Funktion des Blocks document\_index\_selectAdress in den PDF-Templates

**URL:** <https://forum.shopware.com/t/funktion-des-blocks-document-index-selectadress-in-den-pdf-templates/51517>\
**Category:** Programmierung\
**Created:** [2. März 2018 um 20:32 UTC](https://forum.shopware.com/t/funktion-des-blocks-document-index-selectadress-in-den-pdf-templates/51517 "2018-03-02T20:32:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sixtus](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Sixtus](https://forum.shopware.com/u/Sixtus)\
**Post date:** [2. März 2018 um 20:32 UTC](https://forum.shopware.com/t/funktion-des-blocks-document-index-selectadress-in-den-pdf-templates/51517/1 "2018-03-02T20:32:53Z")

</div>

Weiß&nbsp;jemand für was der Block&nbsp; **document\_index\_selectAdress&nbsp;** benutzt wird? Was ist hier die Idee? Habe folgendes Snippet hier im Forum entdeckt:

```
{block name="document_index_selectAdress"}
   {assign var="shippingaddress" value="shipping"}
   {assign var="billingaddress" value="billing"}
{/block}

```

Habe bisher immer einfach&nbsp; **$User.shipping.xyz** zu meinen Templates hinzugefügt um die Lieferadresse&nbsp;zu ergänzen und diesen&nbsp;Block nicht angefasst.  
Für eine kurze Nachhilfe wäre ich sehr dankbar!  
&nbsp;
