Created
April 21, 2016 12:05
-
-
Save vgrish/9fbe15f333beb49125b0354bb3902f7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='row ms2_product col-md-4' itemtype='http://schema.org/Product' itemscope> | |
<meta itemprop='description' content='[[+description:default=`[[+pagetitle]]`]]'> | |
<div class='prev'> | |
<a href='[[+uri]]'> | |
<img src='[[+thumb:default=`[[++assets_url]]components/minishop2/img/web/ms2_small.png`]]' itemprop='image' | |
alt='[[+pagetitle]]' title='[[+pagetitle]]'> | |
</a> | |
</div> | |
<h3 class='tm-title' itemprop='name'>[[+pagetitle]]</h3> | |
<div class='cart' itemtype='http://schema.org/AggregateOffer' itemprop='offers' itemscope> | |
<meta itemprop='category' content='[[#[[+parent]].pagetitle]]'> | |
<meta itemprop='offerCount' content='1'> | |
<meta itemprop='price' content='[[+price:replace=` ==`]]'> | |
<meta itemprop='lowPrice' content='[[+price:replace=` ==`]]'> | |
<meta itemprop='priceCurrency' content='RUR'> | |
<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='price'> | |
<div class='vert'> | |
<div class='price_new'>[[+price]] [[%ms2_frontend_currency]]</div> | |
</div> | |
</div> | |
<button class='btn btn-default btn-sm' type='submit' name='ms2_action' value='cart/add'><i | |
class='glyphicon glyphicon-barcode'></i> [[%ms2_frontend_add_to_cart]] | |
</button> | |
</form> | |
</div> | |
</div> | |
<!--minishop2_popular <i class='glyphicon glyphicon-star' title='[[%ms2_frontend_popular]]'></i>--> | |
<!--minishop2_new <i class='glyphicon glyphicon-flag' title='[[%ms2_frontend_new]]'></i>--> | |
<!--minishop2_favorite <i class='glyphicon glyphicon-bookmark' title='[[%ms2_frontend_favorite]]'></i>--> | |
<!--minishop2_old_price <span class='old_price'>[[+old_price]] [[%ms2_frontend_currency]]</span>--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment