Created
November 24, 2016 10:42
-
-
Save vgrish/bf13d4746a92176a936a583c93b43bce 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
<h1>[[*pagetitle]]</h1> | |
<div id="msProduct" class="row"> | |
<div class="col-md-6"> | |
[[!msGallery]] | |
</div> | |
<div class="col-md-6"> | |
<form class="form-horizontal ms2_form msoptionsprice-product" method="post"> | |
<input type="hidden" name="id" value="[[*id]]"/> | |
<div class="form-group"> | |
<label class="col-md-2 control-label">[[%ms2_product_article]]:</label> | |
<div class="col-md-10 form-control-static"> | |
<span class='msoptionsprice-article msoptionsprice-[[*id]]'>[[+article:default=`-`]]</span> | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="col-md-2 control-label">[[%ms2_product_price]]:</label> | |
<div class="col-md-10 form-control-static"> | |
<span class='msoptionsprice-cost msoptionsprice-[[*id]]'>[[+price]]</span> [[%ms2_frontend_currency]] | |
[[+old_price:gt=`0`:then=` | |
<span class="old_price">[[+old_price]] [[%ms2_frontend_currency]]</span> | |
`:else=``]] | |
</div> | |
</div> | |
<div class="form-group form-inline"> | |
<label class="col-md-2 control-label" for="product_price">[[%ms2_cart_count]]:</label> | |
<div class="col-md-10"> | |
<input type="number" name="count" id="product_price" class="input-sm form-control" value="1"/> | |
[[%ms2_frontend_count_unit]] | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="col-md-2 control-label">[[%ms2_product_weight]]:</label> | |
<div class="col-md-10 form-control-static"> | |
<span class='msoptionsprice-mass msoptionsprice-[[*id]]'>[[+weight]]</span> [[%ms2_frontend_weight_unit]] | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="col-md-2 control-label">[[%ms2_product_made_in]]:</label> | |
<div class="col-md-10 form-control-static"> | |
[[+made_in:default=`-`]] | |
</div> | |
</div> | |
[[!msOptions? | |
&options=`color,size,test3,test6,memory` | |
&sortOptions=` | |
size:SORT_DESC:SORT_NUMERIC:101, | |
test3:SORT_DESC:SORT_STRING:курица | |
` | |
]] | |
[[!msProductOptions? | |
&sortOptions=` | |
test7:SORT_DESC:SORT_STRING:r | |
` | |
]] | |
<div class="form-group"> | |
<div class="col-md-offset-2 col-md-10"> | |
<button type="submit" class="btn btn-default" name="ms2_action" value="cart/add"> | |
<i class="glyphicon glyphicon-barcode"></i> [[%ms2_frontend_add_to_cart]] | |
</button> | |
</div> | |
</div> | |
</form> | |
</div> | |
</div> | |
<hr> | |
[[!msOptionsPrice.modification? | |
&includeThumbs=`120x90` | |
]] | |
[[*content]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment