mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 20:48:27 +00:00
[minor] [webshop] [fix]
This commit is contained in:
@@ -7,4 +7,7 @@
|
||||
font-size: 18px;
|
||||
line-height: 200%;
|
||||
}
|
||||
.item-stock {
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
</style>
|
||||
@@ -32,8 +32,7 @@
|
||||
<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 description or
|
||||
"[No description given]" }}
|
||||
{{ web_long_description or description or "[No description given]" }}
|
||||
</div>
|
||||
<div style="min-height: 100px; margin: 10px 0;">
|
||||
<div class="item-price-info" style="display: none;">
|
||||
|
||||
@@ -143,7 +143,7 @@ $.extend(wn.cart, {
|
||||
'<div style="height: 120px; overflow: hidden;"><img src="' + doc.image + '" /></div>' :
|
||||
'{% include "app/website/templates/html/product_missing_image.html" %}';
|
||||
|
||||
if(!doc.web_short_description) doc.web_short_description = doc.description;
|
||||
if(doc.description === doc.item_name) doc.description = "";
|
||||
|
||||
$(repl('<div class="row">\
|
||||
<div class="col col-lg-9 col-sm-9">\
|
||||
@@ -151,7 +151,7 @@ $.extend(wn.cart, {
|
||||
<div class="col col-lg-3">%(image_html)s</div>\
|
||||
<div class="col col-lg-9">\
|
||||
<h4><a href="%(page_name)s">%(item_name)s</a></h4>\
|
||||
<p>%(web_short_description)s</p>\
|
||||
<p>%(description)s</p>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
|
||||
Reference in New Issue
Block a user