Created
February 27, 2015 06:35
-
-
Save vgrish/b860dab50f09ed2491e7 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
<section class="product-section" id="msProduct"> | |
[[msGallery? | |
&tplRow=`@INLINE | |
<div class="slide"> | |
<a data-rel="lightbox" href="[[+url]]" class="center"><img src="[[+187x301]]" title="[[+name]]" alt="[[+description]]" width="187" height="301"> | |
</a> | |
</div> | |
` | |
&tplOuter=`@INLINE <div class="slideset">[[+rows]]</div>` | |
&tplEmpty=`` | |
&tplSingle=`` | |
&toPlaceholder=`row_slide` | |
]] | |
[[msGallery? | |
&tplRow=`tpl.msGallery.row.th` | |
&tplOuter=`tpl.msGallery.outer.th` | |
&tplEmpty=`tpl.msGallery.empty.th` | |
&tplSingle=`` | |
]] | |
<div class="text-block"> | |
<div class="holder"> | |
<h1>[[*longtitle:default=`[[*pagetitle]]`]]</h1> | |
<span class="article">Артикул: [[+article]]</span> | |
<ul class="list"> | |
<li>Размер: <strong>205/60R15</strong> | |
</li> | |
[[+width:gt=`0`:then=`<li>Размер: <strong>[[+width]]/[[+height]] [[+radius]]</strong></li>`:else=``]] | |
[[+idx_load:gt=`0`:then=`<li>Индекс нагрузки/скорости: <strong>[[+idx_load]][[+idx_speed]]</strong></li>`:else=``]] | |
[[msOptions? | |
&tplRow=`@INLINE [[+value]]` | |
&tplOuter=`@INLINE <li>Тип протектора: <strong>[[+rows]]</strong></li>` | |
&tplEmpty=`` | |
&name=`type_tyre` | |
]] | |
[[msOptions? | |
&tplRow=`@INLINE [[+value]]` | |
&tplOuter=`@INLINE <li>Сезонность: <strong>[[+rows]]</strong></li>` | |
&tplEmpty=`` | |
&name=`season` | |
]] | |
[[+counts:gt=`0`:then=`<li>Наличие: <strong>[[+counts]]</strong></li>`:else=`<li><strong>Нет в наличии </strong></li>`]] | |
[[+weight:gt=`0`:then=`<li>Вес: <strong>[[+weight]]</strong> кг.</li>`:else=``]] | |
</ul> | |
<div class="row-price"> | |
<span class="price"><strong>[[!+price]]</strong> [[%ms2_frontend_currency]]</span> | |
[[!+old_price:gt=`0`:then=`<del class="price-old"><strong>[[+old_price]]</strong> [[%ms2_frontend_currency]]</del>`:else=``]] | |
</div> | |
<form class="form-buy ms2_form" method="post"> | |
<input type="hidden" name="id" value="[[*id]]" /> | |
<fieldset> | |
<input readonly class="spinner" type="text" name="count" id="product_price" value="1" /> | |
<button type="submit" class="btn btn-default" name="ms2_action" value="cart/add">Купить</button> | |
<a href="#" class="link">Купить в 1 клик</a> | |
</fieldset> | |
</form> | |
</div> | |
</div> | |
</section> | |
[[-*content]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment