{* * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 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: * http://opensource.org/licenses/afl-3.0.php * 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-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file="helpers/view/view.tpl"} {block name="override_tpl"}

{l s='Addresses'} {count($addresses)}

{if !count($addresses)} {l s='No address has been found for this manufacturer.'} {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'} {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:'} {$product->reference}{l s='EAN13:'} {$product->ean13}{l s='UPC:'} {$product->upc}{l s='Qty:'} {$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'} {l s='Reference'} {l s='EAN13'} {l s='UPC'}{l s='Available Quantity'}
{$product_attribute.attributes} {$product_attribute.reference} {$product_attribute.ean13} {$product_attribute.upc}{$product_attribute.quantity}
{/if} {/foreach}
{/block}