echo $kitProduct->getSProducts()->firstVariant->getSmallPhoto(); ?> " alt="<?php echo ShopCore::encode($kitProduct->getSProducts()->getName()); ?> " title="<?php echo ShopCore::encode($kitProduct->getSProducts()->getName()); ?> "/> <?php $discount = $kitProduct->getDiscount(); ?> <?php echo promoLabel($kitProduct->getSProducts()->getAction(), $kitProduct->getSProducts()->getHot(), $kitProduct->getSProducts()->getHit(), $discount); ?> </span> <span class="title"><?php echo ShopCore::encode($kitProduct->getSProducts()->getName()); ?> </span> </a> <div class="description"> <div class="frame-prices f-s_0"> <!-- Check for discount--> <?php if ($kitProduct->getDiscount()) { ?> <span class="price-discount"> <span>
" class="vImg"/> <?php $discount = 0; ?> <?php if ($hasDiscounts) { ?> <?php $discount = $p->firstVariant->getvirtual('numDiscount') / $p->firstVariant->toCurrency('origprice') * 100; ?> <?php } ?> <?php echo promoLabel($p->getAction(), $p->getHot(), $p->getHit(), $discount); ?> </span> <span class="title"><?php echo ShopCore::encode($p->getName()); ?> </span> </a> <!-- End. Photo & Name product --> <div class="description"> <!-- Start. article & variant name & brand name --> <?php if ($opi_codeArticle) { ?> <div class="frame-variant-name-code"> <?php