- | {$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 $stock_management && $shopContext != Shop::CONTEXT_ALL}{$product->quantity} | {/if}
-
- {else}
- {foreach $product->combination AS $id_product_attribute => $product_attribute}
-
- | {$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 $stock_management && $shopContext != Shop::CONTEXT_ALL}{$product_attribute.quantity} | {/if}
+
+
{l s='Number of products:'} {count($products)}
+
+
+
+ | {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'} |
+ {if $stock_management && $shopContext != Shop::CONTEXT_ALL}{l s='Available Quantity'} | {/if}
+
+
+ {foreach $products AS $product}
+ {if !$product->hasAttributes()}
+
+ | {$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 $stock_management && $shopContext != Shop::CONTEXT_ALL}{$product->quantity} | {/if}
+
+ {else}
+ {foreach $product->combination AS $id_product_attribute => $product_attribute}
+
+ | {$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 $stock_management && $shopContext != Shop::CONTEXT_ALL}{$product_attribute.quantity} | {/if}
+
+ {/foreach}
+ {/if}
{/foreach}
- {/if}
-{/foreach}
-
+
+