[[msProducts?
&parents=`5`
&limit=`3`
&tpl=`tpl.main-pw-new`
&where=`{"Data.popular":"1"}`
]]
<!--======= product grid view =======-->
<div class="single-grid-product grid-view-product ms2_product">
<form method="post" class="ms2_form">
<input type="hidden" name="id" value="{$id}">
<input type="hidden" name="count" value="1">
<input type="hidden" name="options" value="[]">
<div class="single-grid-product__image">
{if $favorite?}
<div class="single-grid-product__label">
<span class="sale">АКЦИЯ</span>
</div>
{/if}
<a href="{$id | url}">
{if $thumb?}
<img src="{$thumb}" class="mw-100 img-fluid" alt="{$pagetitle}" title="{$pagetitle}"/>
{else}
<img src="{'assets_url' | option}components/minishop2/img/web/ms2_small.png"
srcset="{'assets_url' | option}components/minishop2/img/web/ms2_small@2x.png 2x"
class="mw-100 img-fluid" alt="{$pagetitle}" title="{$pagetitle}"/>
{/if}
</a>
</div>
<div class="single-grid-product__content">
<h3 class="single-grid-product__title"> <a href="{$id | url}">{$pagetitle}</a></h3>
<p class="single-grid-product__price"><span class="discounted-price">{$price} грн.</span>
{if $old_price?}
<span class="main-price discounted">{$old_price} грн.</span>
{/if}
</p>
<button class="cart-btn-mini" name="ms2_action" value="cart/add"> <i class="ion-bag"></i> ДОБАВИТЬ В КОРЗИНУ</button>
</div>
</form>
</div>
<!--======= End of product grid view =======-->