{** * 2007-2018 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2018 PrestaShop SA * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file="helpers/view/view.tpl"} {block name="override_tpl"}

{l s='Addresses' d='Admin.Global'} {count($addresses)}

{if !count($addresses)} {l s='No address has been found for this brand.' d='Admin.Catalog.Notification'} {else} {foreach $addresses AS $addresse}
{$addresse.firstname} {$addresse.lastname}
{$addresse.address1}
{if $addresse.address2}{$addresse.address2}
{/if} {$addresse.postcode} {$addresse.city}
{if $addresse.state}{$addresse.state}
{/if} {$addresse.country}
{if $addresse.phone}{$addresse.phone}
{/if} {if $addresse.phone_mobile}{$addresse.phone_mobile}
{/if} {if $addresse.other}

{$addresse.other|nl2br}
{/if}
{/foreach} {/if}

{l s='Products' d='Admin.Global'} {count($products)}

{foreach $products AS $product} {if !$product->hasAttributes()}
{if !empty($product->reference)}{/if} {if !empty($product->ean13)}{/if} {if !empty($product->upc)}{/if} {if $stock_management}{/if}
{l s='Ref:' d='Admin.Catalog.Feature'} {$product->reference}{l s='EAN13:' d='Admin.Catalog.Feature'} {$product->ean13}{l s='UPC:' d='Admin.Catalog.Feature'} {$product->upc}{l s='Qty:' d='Admin.Catalog.Feature'} {$product->quantity}
{else}
{if $stock_management && $shopContext != Shop::CONTEXT_ALL} {/if} {foreach $product->combination AS $id_product_attribute => $product_attribute} {if $stock_management && $shopContext != Shop::CONTEXT_ALL} {/if} {/foreach}
{l s='Attribute name' d='Admin.Catalog.Feature'} {l s='Reference' d='Admin.Global'} {l s='EAN13' d='Admin.Catalog.Feature'} {l s='UPC' d='Admin.Catalog.Feature'}{l s='Available quantity' d='Admin.Catalog.Feature'}
{$product_attribute.attributes} {$product_attribute.reference} {$product_attribute.ean13} {$product_attribute.upc}{$product_attribute.quantity}
{/if} {/foreach}
{/block}