{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * 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.md. * 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 https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *} {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' d='Admin.Global'} {l s='EAN-13'} {l s='UPC'} {l s='MPN' d='Admin.Catalog.Feature'}{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} {if empty($product->mpn)}{l s='N/A'}{else}{$product->mpn}{/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} {if empty($product_attribute.mpn)}{l s='N/A'}{else}{$product_attribute.mpn}{/if}{$product_attribute.quantity}
{/block}