_categories ) ) foreach ( $this -> _categories as $category )
{
if ( is_array( $category -> get_products() ) ) foreach ( $category -> get_products() as $product )
{
?>
= $product -> get_name();?>
if ( is_array( $product -> get_images() ) ) foreach ( $product -> get_images() as $img )
{
if ( !$i++ )
{
?>
}
}
?>
= $product -> get_description();?>
if ( $product -> get_price() )
{
?>
= $product -> get_price();?>
}
if ( is_array( $product -> get_images() ) && count( $product -> get_images() ) > 1 )
{
?>
foreach ( $product -> get_images() as $img )
{
if ( $x++ )
{
?>
}
}
?>
}
?>
}
// if ( is_array( $category -> get_subcategories() ) )
// echo \product\VCategory::drawCategories( $category -> get_subcategories(), $this -> _step + 1 );
}
?>
if ( $this -> _child )
echo '' . $lang -> getTrans( 'T_WSTECZ' ) . '
';