|
|
@ -597,18 +597,21 @@ $rating = getAverageRating($reviews); |
|
|
|
<?php if (!empty($priceRow['PRICE'])): ?> |
|
|
|
<?php if (!empty($priceRow['PRICE'])): ?> |
|
|
|
<div class="product__price"><?= number_format($priceRow['PRICE'], 0, '', ' ') ?> ₽</div>
|
|
|
|
<div class="product__price"><?= number_format($priceRow['PRICE'], 0, '', ' ') ?> ₽</div>
|
|
|
|
<?php endif; ?> |
|
|
|
<?php endif; ?> |
|
|
|
<div class="product__btns"> |
|
|
|
|
|
|
|
<form class="add-to-cart-form" action="<?=POST_FORM_ACTION_URI?>" method="post" enctype="multipart/form-data" style="display: inline;">
|
|
|
|
<form class="product__btns add-to-cart-form" action="<?=POST_FORM_ACTION_URI?>" method="post" enctype="multipart/form-data">
|
|
|
|
<input type="hidden" name="PRODUCT_QUANTITY" value="1"> |
|
|
|
<input type="hidden" name="PRODUCT_QUANTITY" value="1"> |
|
|
|
<input type="hidden" name="action" value="ADD2BASKET"> |
|
|
|
<input type="hidden" name="action" value="ADD2BASKET"> |
|
|
|
<input type="hidden" name="ajax_basket" value="Y"> |
|
|
|
<input type="hidden" name="ajax_basket" value="Y"> |
|
|
|
<input type="hidden" name="id" value="<?= $item['ID'] ?>">
|
|
|
|
<input type="hidden" name="id" value="<?= $item['ID'] ?>">
|
|
|
|
<button type="submit" class="button button--orange add-to-cart-button">Купить</button> |
|
|
|
<button type="button" class="button button--orange" data-product="<?= $arResult['ITEM']['NAME'] ?>">
|
|
|
|
|
|
|
|
Купить |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
<button type="submit" class="button button--outline add-to-cart-button" name="<?echo $arParams["ACTION_VARIABLE"]."ADD2BASKET"?>">
|
|
|
|
|
|
|
|
В корзину |
|
|
|
|
|
|
|
</button> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
<button type="button" class="button button--outline"> |
|
|
|
|
|
|
|
В корзину |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|