mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
[enhance] i. facility to send PR email; ii. update cart, item view and order view;
This commit is contained in:
@@ -28,12 +28,12 @@ def update_website_context(context):
|
||||
cart_enabled = is_cart_enabled()
|
||||
context["shopping_cart_enabled"] = cart_enabled
|
||||
|
||||
if cart_enabled:
|
||||
post_login = [
|
||||
{"label": _("Cart"), "url": "cart", "class": "cart-count"},
|
||||
{"class": "divider"}
|
||||
]
|
||||
context["post_login"] = post_login + context.get("post_login", [])
|
||||
# if cart_enabled:
|
||||
# post_login = [
|
||||
# {"label": _("Cart"), "url": "cart", "class": "cart-count"},
|
||||
# {"class": "divider"}
|
||||
# ]
|
||||
# context["post_login"] = post_login + context.get("post_login", [])
|
||||
|
||||
def update_my_account_context(context):
|
||||
if is_cart_enabled():
|
||||
|
||||
Reference in New Issue
Block a user