brotherton-erpnext/erpnext/templates/pages/cart.py

12 lines
314 B
Python
Raw Normal View History

# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
2014-10-21 10:46:30 +00:00
# License: GNU General Public License v3. See license.txt
no_cache = 1
from erpnext.e_commerce.shopping_cart.cart import get_cart_quotation
def get_context(context):
context.body_class = "product-page"
context.update(get_cart_quotation())