Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
109 additions
and
107 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,73 @@ | ||
<% require themedCSS(product) %> | ||
<div class="row"> | ||
<div id="Sidebar" class="span2"> | ||
<% with Parent %> | ||
<% include ProductMenu %> | ||
<% end_with %> | ||
</div> | ||
<div id="Product" class="typography span8"> | ||
<div class="row"> | ||
<div id="Breadcrumbs" class="span8"> | ||
$Breadcrumbs | ||
</div> | ||
<div class="container"> | ||
<% require themedCSS(product) %> | ||
<div class="row"> | ||
<div id="Sidebar" class="col-sm-2"> | ||
<% with Parent %> | ||
<% include ProductMenu %> | ||
<% end_with %> | ||
</div> | ||
<div class="row"> | ||
<div class="productDetails span3"> | ||
<% if Image.ContentImage %> | ||
<img class="productImage" src="$Image.ContentImage.URL" alt="<% sprintf(_t("IMAGE","%s image"),$Title) %>" /> | ||
<% else %> | ||
<img class="productImage" src="http://placehold.it/300x200" alt="<% sprintf(_t("IMAGE","%s image"),$Title) %>" /> | ||
<% end_if %> | ||
<div id="Product" class="typography col-sm-8"> | ||
<div class="row"> | ||
<div id="Breadcrumbs" class="col-sm-8"> | ||
$Breadcrumbs | ||
</div> | ||
</div> | ||
<% if Content %> | ||
<div class="typography span5"> | ||
<div class="page-header"> | ||
<h1 class="pageTitle">$Title</h1> | ||
</div> | ||
<% if InternalItemID %><p><% _t("CODE","Product Code") %>: {$InternalItemID}</p><% end_if %> | ||
<% if Model %><p><% _t("MODEL","Model") %>: $Model.XML</p><% end_if %> | ||
<% if Size %><p><% _t("SIZE","Size") %>: $Size.XML</p><% end_if %> | ||
<% if Variations %> | ||
$VariationForm | ||
<div class="row"> | ||
<div class="productDetails col-sm-3"> | ||
<% if Image.ContentImage %> | ||
<img class="productImage" src="$Image.ContentImage.URL" alt="<% sprintf(_t("IMAGE","%s image"),$Title) %>" /> | ||
<% else %> | ||
<% if Price %> | ||
<% include PriceTag %> | ||
<% end_if %> | ||
<% if canPurchase %> | ||
<% if IsInCart %> | ||
<% loop Item %> | ||
<div class="quantityBox"> | ||
<span><% _t("QUANTITYCART","Quantity in cart") %>:</span> $QuantityField | ||
<div class="productActions"> | ||
<a class="btn" href="$removeallLink" title="<% sprintf(_t("REMOVE","Remove "%s" from your cart"),$Title) %>"> | ||
<i class="icon-trash"></i> | ||
<% _t("REMOVELINK","Remove from cart") %> | ||
</a> | ||
<a class="btn btn-success" href="$checkoutLink" title="<% _t("GOTOCHECKOUT","Go to the checkout now") %>"> | ||
<i class="icon-shopping-cart icon-white"></i> | ||
<% _t("GOTOCHECKOUTLINK","Go to the checkout") %> | ||
</a> | ||
<img class="productImage" src="http://placehold.it/300x200" alt="<% sprintf(_t("IMAGE","%s image"),$Title) %>" /> | ||
<% end_if %> | ||
</div> | ||
<% if Content %> | ||
<div class="typography col-sm-7 col-lg-5"> | ||
<div class="page-header"> | ||
<h1 class="pageTitle">$Title</h1> | ||
</div> | ||
<% if InternalItemID %><p><% _t("CODE","Product Code") %>: {$InternalItemID}</p><% end_if %> | ||
<% if Model %><p><% _t("MODEL","Model") %>: $Model.XML</p><% end_if %> | ||
<% if Size %><p><% _t("SIZE","Size") %>: $Size.XML</p><% end_if %> | ||
<% if Variations %> | ||
$VariationForm | ||
<% else %> | ||
<% if Price %> | ||
<% include PriceTag %> | ||
<% end_if %> | ||
<% if canPurchase %> | ||
<% if IsInCart %> | ||
<% loop Item %> | ||
<div class="quantityBox"> | ||
<span><% _t("QUANTITYCART","Quantity in cart") %>:</span> $QuantityField | ||
<div class="productActions"> | ||
<a class="btn" href="$removeallLink" title="<% sprintf(_t("REMOVE","Remove "%s" from your cart"),$Title) %>"> | ||
<i class="icon-trash"></i> | ||
<% _t("REMOVELINK","Remove from cart") %> | ||
</a> | ||
<a class="btn btn-success" href="$checkoutLink" title="<% _t("GOTOCHECKOUT","Go to the checkout now") %>"> | ||
<i class="icon-shopping-cart icon-white"></i> | ||
<% _t("GOTOCHECKOUTLINK","Go to the checkout") %> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<% end_loop %> | ||
<% else %> | ||
<a href="$addLink" class="btn btn-success btn-large" title="<% sprintf(_t("ADD","Add "%s" to your cart"),$Title) %>"> | ||
<i class="icon-plus-sign icon-white"></i> | ||
<% _t("ADDLINK","Add to Cart") %> | ||
</a> | ||
<% end_loop %> | ||
<% else %> | ||
<a href="$addLink" class="btn btn-success btn-large" title="<% sprintf(_t("ADD","Add "%s" to your cart"),$Title) %>"> | ||
<i class="icon-plus-sign icon-white"></i> | ||
<% _t("ADDLINK","Add to Cart") %> | ||
</a> | ||
<% end_if %> | ||
<% end_if %> | ||
<% end_if %> | ||
<% end_if %> | ||
<div class="productContent"> | ||
$Content | ||
<div class="productContent"> | ||
$Content | ||
</div> | ||
</div> | ||
</div> | ||
<% end_if %> | ||
<% end_if %> | ||
</div> | ||
</div> | ||
<div class="cart col-sm-2"> | ||
<% include SideCart %> | ||
</div> | ||
</div> | ||
<div class="cart span2"> | ||
<% include SideCart %> | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,49 @@ | ||
<% require themedCSS(productcategory) %> | ||
<div class="page-header"> | ||
<h1 class="pageTitle">$Title</h1> | ||
$Breadcrumbs | ||
</div> | ||
<div class="row"> | ||
<div id="Sidebar" class="span2"> | ||
<% include ProductMenu %> | ||
<div class="container"> | ||
<% require themedCSS(productcategory) %> | ||
<div class="page-header"> | ||
<h1 class="pageTitle">$Title</h1> | ||
$Breadcrumbs | ||
</div> | ||
<div id="ProductGroup" class="typography span8"> | ||
$Content | ||
<% if Products %> | ||
<div id="Products" class="category"> | ||
|
||
<div class="filterbar row"> | ||
<div class="span12"> | ||
<% if SortLinks %> | ||
<div class="btn-group"> | ||
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">Sort<span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<% loop SortLinks %> | ||
<li><a href="$Link" class="sortlink $Current">$Name</a></li> | ||
<% end_loop %> | ||
</ul> | ||
<div class="row"> | ||
<div id="Sidebar" class="col-sm-3 col-md-2 hidden-xs"> | ||
<% include ProductMenu %> | ||
</div> | ||
<div id="ProductGroup" class="typography col-sm-6 col-md-8"> | ||
$Content | ||
<% if Products %> | ||
<div id="Products" class="category"> | ||
|
||
<div class="filterbar row"> | ||
<div class="col-sm-12"> | ||
<% if SortLinks %> | ||
<div class="btn-group"> | ||
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">Sort<span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<% loop SortLinks %> | ||
<li><a href="$Link" class="sortlink $Current">$Name</a></li> | ||
<% end_loop %> | ||
</ul> | ||
</div> | ||
<% end_if %> | ||
</div> | ||
<% end_if %> | ||
</div> | ||
<div class="products"> | ||
<div class="row"> | ||
<% loop Products %> | ||
<div class="col-xs-6 col-md-3 col-lg-3"> | ||
<% include ProductGroupItem %> | ||
</div> | ||
<% end_loop %> | ||
</div> | ||
</div> | ||
<% with Products %> | ||
<% include Pagination %> | ||
<% end_with %> | ||
</div> | ||
|
||
<ul class="productList thumbnails"> | ||
<% loop Products %> | ||
<% include ProductGroupItem %> | ||
<% end_loop %> | ||
</ul> | ||
<% with Products %> | ||
<% include Pagination %> | ||
<% end_with %> | ||
</div> | ||
<% end_if %> | ||
</div> | ||
<div class="cart span2"> | ||
<% include SideCart %> | ||
<% end_if %> | ||
</div> | ||
<div class="cart col-sm-3 col-md-2"> | ||
<% include SideCart %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |