mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
[shopping cart] [start]
This commit is contained in:
@@ -3,8 +3,17 @@
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
<div class="pull-right" style="margin:4px;" id="user-tools">
|
||||
<a href="cart" title="Shopping Cart"><i class="icon-shopping-cart"></i>
|
||||
<span class="cart-count"></span></a> |
|
||||
<a id="login-link" href="login">Login</a>
|
||||
</div>
|
||||
<div class="pull-right hide" style="margin:4px;" id="user-tools-post-login">
|
||||
<a href="profile" title="My Profile" id="user-full-name"></a> |
|
||||
<a href="account" title="My Account">My Account</a> |
|
||||
<a href="cart" title="Shopping Cart"><i class="icon-shopping-cart"></i>
|
||||
<span class="cart-count"></span></a> |
|
||||
<a href="server.py?cmd=web_logout" title="Sign Out"><i class="icon-signout"></i></a>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
{% if banner_html %}<div class="row" style="margin-top: 30px;">
|
||||
<div class="col col-lg-12">{{ banner_html }}</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<div class="col col-lg-3">
|
||||
<!-- TODO product listing -->
|
||||
<div class="col col-lg-12">
|
||||
<div style="height: 120px; overflow: hidden;">
|
||||
<a href="{{ page_name }}">
|
||||
{%- if website_image -%}
|
||||
|
||||
@@ -29,14 +29,18 @@
|
||||
</div>
|
||||
<div class="col col-lg-6">
|
||||
<h3 itemprop="name" style="margin-top: 0px;">{{ item_name }}</h3>
|
||||
<p class="help">Item Code: {{ name }}</p>
|
||||
<p class="help">Item Code: <span itemprop="productID">{{ name }}</span></p>
|
||||
<h4>Product Description</h4>
|
||||
<div itemprop="description">
|
||||
{{ web_long_description or web_short_description or
|
||||
"[No description given]" }}
|
||||
</div>
|
||||
<div class="item-price hide"></div>
|
||||
<div class="item-stock"></div>
|
||||
<div class="item-price-info" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
||||
<div class="item-price hide" itemprop="price"></div>
|
||||
<div class="item-stock" itemprop="availablity"></div>
|
||||
<button class="btn btn-primary item-add-to-cart hide">Add to Cart</button>
|
||||
<button class="btn btn-default item-remove-from-cart hide">Remove from Cart</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if obj.doclist.get({"doctype":"Item Website Specification"}) -%}
|
||||
|
||||
Reference in New Issue
Block a user