old_contents: from shopping_cart.__version__ import __version__
  app_name = "shopping_cart"
  app_title = "Shopping Cart"
  app_publisher = "Web Notes Technologies"
  app_description = "Online Shopping Cart integrated with ERPNext"
  app_icon = "icon-shopping-cart"
  app_color = "#B7E090"
  app_email = "info@erpnext.com"
  app_url = "https://erpnext.com"
  app_version = __version__
  
  web_include_js = "assets/js/shopping-cart-web.min.js"
  web_include_css = "assets/css/shopping-cart-web.css"
  
  on_session_creation = "shopping_cart.utils.set_cart_count"
  on_logout = "shopping_cart.utils.clear_cart_count"
  update_website_context = "shopping_cart.utils.update_website_context"
  
  # Bean Events
  doc_events = {
  	"Sales Taxes and Charges Master": {
  		"on_update": "shopping_cart.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings"
  	},
  	"Price List": {
  		"on_update": "shopping_cart.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings"
  	},
  	# "Quotation": {
  	# 	"validate": "shopping_cart.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.apply_shopping_cart_settings"
  	# }
  }
  
new_contents: from __version__ import __version__
  app_name = "shopping_cart"
  app_title = "Shopping Cart"
  app_publisher = "Web Notes Technologies"
  app_description = "Online Shopping Cart integrated with ERPNext"
  app_icon = "icon-shopping-cart"
  app_color = "#B7E090"
  app_email = "info@erpnext.com"
  app_url = "https://erpnext.com"
  app_version = __version__
  
  web_include_js = "assets/js/shopping-cart-web.min.js"
  web_include_css = "assets/css/shopping-cart-web.css"
  
  on_session_creation = "shopping_cart.utils.set_cart_count"
  on_logout = "shopping_cart.utils.clear_cart_count"
  update_website_context = "shopping_cart.utils.update_website_context"
  
  # Bean Events
  doc_events = {
  	"Sales Taxes and Charges Master": {
  		"on_update": "shopping_cart.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings"
  	},
  	"Price List": {
  		"on_update": "shopping_cart.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings"
  	},
  	# "Quotation": {
  	# 	"validate": "shopping_cart.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.apply_shopping_cart_settings"
  	# }
  }
  
subject: Update hooks.py