diff --git a/stock/doctype/item/item.js b/stock/doctype/item/item.js index 3d427ad311..b2a1ffe493 100644 --- a/stock/doctype/item/item.js +++ b/stock/doctype/item/item.js @@ -193,4 +193,6 @@ cur_frm.cscript.copy_from_item_group = function(doc) { cur_frm.cscript.image = function() { refresh_field("image_view"); + + if(!cur_frm.doc.description_html) cur_frm.cscript.add_image(cur_frm.doc); } \ No newline at end of file diff --git a/website/templates/html/outer.html b/website/templates/html/outer.html index 07ade38a97..bac3515042 100644 --- a/website/templates/html/outer.html +++ b/website/templates/html/outer.html @@ -3,8 +3,10 @@ {% block body %}
+ {% if shopping_cart_enabled -%} | + {%- endif %} Login