Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languageactionscript3
titlezipDownloadUrl Adressliste für Liefer- und Rechnungsdaten - AddressListForCart
collapsetrue
{*Version 1*assign value=$orderObject->getOrderInfo('AddressListForCart-delivery_address_list') var="deliveryAddressListValues"}
{if $cart!is_array($deliveryAddressListValues)}
    {foreachassign keyvalue=key[] item=item from=$cart}
        {if $item.zipDownloadUrlvar="deliveryAddressListValues"}
{/if}
{assign value=$orderObject->getOrderInfo('AddressListForCart-invoice_address_list') var="invoiceAddressListValues"}
{if !is_array($invoiceAddressListValues)}
    {assign value=[] var="invoiceAddressListValues"}
{/if}

...

 <url>{$item.zipDownloadUrl}</url>
        {/if}
    {/foreach}
Rechnungsadresseliste Adressnummer: {if isset($invoiceAddressListValues['Adressnummer'])}{$invoiceAddressListValues['Adressnummer']}{/if}
Lieferadresseliste {*Version 2*}
Kundennummer: {if $orderItems}
  isset($deliveryAddressListValues['Kundennummer'])}{$deliveryAddressListValues['Kundennummer']}{/if}


Codeblock
languageactionscript3
titlezipDownloadUrl
collapsetrue
{*Version 1*}
{if $cart}
    {foreach key=key item=item from=$orderItems$cart}
        {if $item.orderItem.zipDownloadUrl}
            <url>{$item.orderItem.zipDownloadUrl}</url>
        {else/if}
    {/foreach}
{/if}

{*Version 2*}
   <nourl items/>
   {if $orderItems}
    {/if}
    {/foreach}
{else} {*Posten bezogener Export*}foreach key=key item=item from=$orderItems}
        {if $orderItem$item.orderItem.zipDownloadUrl}
            <url>{$orderItem$item.orderItem.zipDownloadUrl}</url>
        {else}
        <nourl item />  <nourl items/>
        {/if}
    {/foreach}
{else} {*Posten bezogener Export*}
    {if $orderItem.zipDownloadUrl}
        <url>{$orderItem.zipDownloadUrl}</url>
    {else}
        <nourl item />
    {/if}
{/if}


Codeblock
languageactionscript3
firstline0
titleReseller Artikel Informationen
collapsetrue
{foreach key=key item=value from=$orderItem.info}
	{if $key === 'printwarehouseArticleSettings'}
		{assign var=object value=$value|json_decode:1}
		Preis: {$object.price|number_format:2:',':'.'} €<br>
		{foreach key=name item=setting from=$object.settings}
			{$setting['name']}:{$setting['value']}<br>
		{/foreach}
	{/if}
{/foreach}