{* * 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"}
{$supplier->name} - {l s='Number of products:'} {count($products)}
{if $stock_management && $shopContext != Shop::CONTEXT_ALL}{/if} {foreach $products AS $product} {if !$product->hasAttributes()} {if $stock_management && $shopContext != Shop::CONTEXT_ALL}{/if} {else} {foreach $product->combination AS $id_product_attribute => $product_attribute} {if $stock_management && $shopContext != Shop::CONTEXT_ALL}{/if} {/foreach} {/if} {/foreach}
{l s='Product name'} {l s='Attribute name'} {l s='Supplier Reference'} {l s='Wholesale price'} {l s='Reference'} {l s='EAN13'} {l s='UPC'}{l s='Available Quantity'}
{$product->name} {l s='N/A'} {if empty($product->product_supplier_reference)}{l s='N/A'}{else}{$product->product_supplier_reference}{/if} {if empty($product->product_supplier_price_te)}0{else}{$product->product_supplier_price_te}{/if} {if empty($product->reference)}{l s='N/A'}{else}{$product->reference}{/if} {if empty($product->ean13)}{l s='N/A'}{else}{$product->ean13}{/if} {if empty($product->upc)}{l s='N/A'}{else}{$product->upc}{/if}{$product->quantity}
{$product->name} {if empty($product_attribute.attributes)}{l s='N/A'}{else}{$product_attribute.attributes}{/if} {if empty($product_attribute.product_supplier_reference)}{l s='N/A'}{else}{$product_attribute.product_supplier_reference}{/if} {if empty($product_attribute.product_supplier_price_te)}0{else}{$product_attribute.product_supplier_price_te}{/if} {if empty($product_attribute.reference)}{l s='N/A'}{else}{$product_attribute.reference}{/if} {if empty($product_attribute.ean13)}{l s='N/A'}{else}{$product_attribute.ean13}{/if} {if empty($product_attribute.upc)}{l s='N/A'}{else}{$product_attribute.upc}{/if}{$product_attribute.quantity}
{/block}