Пример #1
0
<div class="hlisting">
<?php 
//print_r(Ishop::gI()->get());
$k = 0;
foreach ($productsFabric->products as $product_id => $product) {
    $productWriter = new productWriter($product);
    ?>
<div class="hproduct item">

		<?php 
    //Название товара
    ?>


		<?php 
    //Картинка товара
    ?>
			<div><?php 
    echo $productWriter->getPhoto();
    ?>
</div>
			<div class="white_bottom"><div><div class="prod_title fn" >
			<?php 
    //Сравнение галочка
    ?>
				<?php 
    if (Ishop::gI()->sets['mod_prd_vs']) {
        ?>
					<input class="prd_vs_i" title="Добавить в сравнение товаров"
					type="checkbox" name="prdvs[<?php 
        echo $product->get('id');
Пример #2
0
<div class="hlisting">
<?php 
$k = 0;
foreach ($productsFabric->products as $product_id => $product) {
    $productWriter = new productWriter($product);
    ?>
<div class="hproduct item">
	<div class="prod_title">
		<?php 
    echo $productWriter->getAjaxLink();
    ?>
    </div>
	<?php 
    echo $productWriter->getPhoto();
    ?>
		
		
	<?php 
    if ($product->paramNotEmpty('param_kolichestvo') && $product->get('param_kolichestvo') > 0 && Ishop::gI()->sets['nal_sklad']) {
        ?>
		<div class="prod_dop_option">Количество: <?php 
        echo $product->get('param_kolichestvo');
        ?>
</div>
	<?php 
    }
    ?>
		
	<!--Подробнее-->
	<?php 
    if (Ishop::gI()->sets['prd_podr']) {