first commit
This commit is contained in:
16
templates/shop-producer/products.php
Normal file
16
templates/shop-producer/products.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<? global $lang_id;?>
|
||||
<div class="category-content">
|
||||
<? if ( is_array( $this -> products ) ): foreach ( $this -> products as $product_id ):
|
||||
echo \Tpl::view( 'shop-product/product-mini', [
|
||||
'product' => $product = \shop\Product::getFromCache( $product_id, $lang_id )
|
||||
] );
|
||||
endforeach; endif;?>
|
||||
</div>
|
||||
<?= $this -> pager;?>
|
||||
<?
|
||||
if ( $this -> producer['languages'][$lang_id]['description'] ):
|
||||
echo \Tpl::view( 'shop-producer/description', [
|
||||
'description' => $this -> producer['languages'][$lang_id]['description']
|
||||
] );
|
||||
endif;
|
||||
?>
|
||||
Reference in New Issue
Block a user