[enhance] i. facility to send PR email; ii. update cart, item view and order view;

This commit is contained in:
Saurabh
2016-01-06 15:21:21 +05:30
parent a940b6d149
commit df2783dbb0
10 changed files with 231 additions and 116 deletions

View File

@@ -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():