mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -11,7 +11,7 @@ from website.helpers.cart import _get_cart_quotation
|
|||||||
@webnotes.whitelist(allow_guest=True)
|
@webnotes.whitelist(allow_guest=True)
|
||||||
def get_product_info(item_code):
|
def get_product_info(item_code):
|
||||||
"""get product price / stock info"""
|
"""get product price / stock info"""
|
||||||
if not webnotes.conn.get_default("shopping_cart_enabled"):
|
if not cint(webnotes.conn.get_default("shopping_cart_enabled")):
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
cart_quotation = _get_cart_quotation()
|
cart_quotation = _get_cart_quotation()
|
||||||
|
|||||||
Reference in New Issue
Block a user