# Abweichende Lieferadresse auf pdf-Rechnung

**URL:** https://forum.shopware.com/t/abweichende-lieferadresse-auf-pdf-rechnung/30034
**Category:** Administration
**Created:** [27. August 2015 um 23:58 UTC](https://forum.shopware.com/t/abweichende-lieferadresse-auf-pdf-rechnung/30034 "2015-08-27T23:58:43Z")
**Posts on this page:** 1
**Showing post:** 39

<div class="post-metadata">

### Author: ![Ladenbesitzer](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@Ladenbesitzer](https://forum.shopware.com/u/Ladenbesitzer)
#### Post date: [8. August 2019 um 06:00 UTC](https://forum.shopware.com/t/abweichende-lieferadresse-auf-pdf-rechnung/30034/39 "2019-08-08T06:00:22Z")

</div>

bei mir leider auch nicht.

Lieferadresse UND Rechnungsadresse werden gar nicht mehr angezeigt.

Ich habe alle 4 files in den document Ordner des Childthemes kopiert und den dreizeiligen Block gegen das Snippet von ELL ausgewechselt.

In den Shopeinstellungen habe ich das&nbsp;Dokumententemplate vom Childtheme ausgewählt.

Den Cache habe ich unter Einstellungen -\> Caches/ Performance -\> Caches/ Performance -\> Cache -\> “Themes kompilieren” und “Template-Cache” gelöscht.

PS: der angehängte Code ist nach unten hinten hin noch ein wenig mehr mit angegeben. Nicht dass irgendwelche schließenden Elemente o.ä.&nbsp;fehlen

```
		{block name="document_index_selectAdress"}
			{assign var="shippingaddress" value="shipping"}
			{assign var="billingaddress" value="billing"}
		{/block}
			{if $User.$shippingaddress.street != $User.$billingaddress.street || $User.$shippingaddress.streetnumber != $User.$billingaddress.streetnumber || $User.$shippingaddress.zipcode != $User.$billingaddress.zipcode || $User.$shippingaddress.company != $User.$billingaddress.company || $User.$shippingaddress.department != $User.$billingaddress.department || $User.$shippingaddress.firstname != $User.$billingaddress.firstname || $User.$shippingaddress.lastname != $User.$billingaddress.lastname}
			
				{s name="difShippingAdress"}Lieferadresse:{/s}
				{$User.$shippingaddress.company}
				{$User.$shippingaddress.firstname} {$User.$shippingaddress.lastname}         
				{$User.$shippingaddress.street} {$User.$shippingaddress.streetnumber}
				{$User.$shippingaddress.zipcode} {$User.$shippingaddress.city}
			{if $User.$shippingaddress.state.shortcode}{$User.$shippingaddress.state.shortcode} - {/if}{$User.$shippingaddress.country.countryen}
			
			{/if}

                
                    {block name="document_index_address"}
                        {block name="document_index_address_sender"}
                            {$Containers.Header_Sender.value}
                        {/block}
                        {block name="document_index_address_base"}
                            {if $User.$address.company}{$User.$address.company}{/if}
                            {if $User.$address.department}{$User.$address.department}{/if}
                            {$User.$address.salutation|salutation}
                            {if {config name="displayprofiletitle"}}
                                {$User.$address.title}
                            {/if}
                            {$User.$address.firstname} {$User.$address.lastname}
                            {$User.$address.street}
                        {/block}
                        {block name="document_index_address_additionalAddressLines"}
                            {if {config name=showAdditionAddressLine1}}
                                {$User.$address.additional_address_line1}
                            {/if}
                            {if {config name=showAdditionAddressLine2}}
                                {$User.$address.additional_address_line2}
                            {/if}
                        {/block}
                        {block name="document_index_address_cityZip"}
                            {if {config name=showZipBeforeCity}}
                                {$User.$address.zipcode} {$User.$address.city}
                            {else}
                                {$User.$address.city} {$User.$address.zipcode}
                            {/if}
                        {/block}
                        {block name="document_index_address_countryData"}
                            {if $User.$address.state.shortcode}{$User.$address.state.shortcode} - {/if}{$User.$address.country.countryen}
                        {/block}
                    {/block}
                
            {/if}
            
        {/block}
        {block name="document_index_head_right_wrapper"}

```

&nbsp;

---

_[View the full topic](https://forum.shopware.com/t/abweichende-lieferadresse-auf-pdf-rechnung/30034)._
