{
 "actions": [],
 "creation": "2013-06-19 15:57:32",
 "description": "Default settings for Shopping Cart",
 "doctype": "DocType",
 "document_type": "System",
 "engine": "InnoDB",
 "field_order": [
  "enabled",
  "store_page_docs",
  "display_settings",
  "show_attachments",
  "show_price",
  "show_stock_availability",
  "enable_variants",
  "column_break_7",
  "show_contact_us_button",
  "show_quantity_in_website",
  "show_apply_coupon_code_in_website",
  "allow_items_not_in_stock",
  "section_break_2",
  "company",
  "price_list",
  "column_break_4",
  "default_customer_group",
  "quotation_series",
  "section_break_8",
  "enable_checkout",
  "save_quotations_as_draft",
  "column_break_11",
  "payment_gateway_account",
  "payment_success_url"
 ],
 "fields": [
  {
   "default": "0",
   "fieldname": "enabled",
   "fieldtype": "Check",
   "in_list_view": 1,
   "label": "Enable Shopping Cart"
  },
  {
   "fieldname": "display_settings",
   "fieldtype": "Section Break",
   "label": "Display Settings"
  },
  {
   "default": "0",
   "fieldname": "show_attachments",
   "fieldtype": "Check",
   "label": "Show Public Attachments"
  },
  {
   "default": "0",
   "fieldname": "show_price",
   "fieldtype": "Check",
   "label": "Show Price"
  },
  {
   "default": "0",
   "fieldname": "show_stock_availability",
   "fieldtype": "Check",
   "label": "Show Stock Availability"
  },
  {
   "default": "0",
   "fieldname": "show_contact_us_button",
   "fieldtype": "Check",
   "label": "Show Contact Us Button"
  },
  {
   "default": "0",
   "depends_on": "show_stock_availability",
   "fieldname": "show_quantity_in_website",
   "fieldtype": "Check",
   "label": "Show Stock Quantity"
  },
  {
   "default": "0",
   "fieldname": "show_apply_coupon_code_in_website",
   "fieldtype": "Check",
   "label": "Show Apply Coupon Code"
  },
  {
   "default": "0",
   "fieldname": "allow_items_not_in_stock",
   "fieldtype": "Check",
   "label": "Allow items not in stock to be added to cart"
  },
  {
   "depends_on": "enabled",
   "fieldname": "section_break_2",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Company",
   "mandatory_depends_on": "eval: doc.enabled === 1",
   "options": "Company",
   "remember_last_selected_value": 1
  },
  {
   "description": "Prices will not be shown if Price List is not set",
   "fieldname": "price_list",
   "fieldtype": "Link",
   "label": "Price List",
   "mandatory_depends_on": "eval: doc.enabled === 1",
   "options": "Price List"
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "default_customer_group",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "label": "Default Customer Group",
   "mandatory_depends_on": "eval: doc.enabled === 1",
   "options": "Customer Group"
  },
  {
   "fieldname": "quotation_series",
   "fieldtype": "Select",
   "label": "Quotation Series",
   "mandatory_depends_on": "eval: doc.enabled === 1"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "eval:doc.enable_checkout",
   "depends_on": "enabled",
   "fieldname": "section_break_8",
   "fieldtype": "Section Break",
   "label": "Checkout Settings"
  },
  {
   "default": "0",
   "fieldname": "enable_checkout",
   "fieldtype": "Check",
   "label": "Enable Checkout"
  },
  {
   "default": "Orders",
   "depends_on": "enable_checkout",
   "description": "After payment completion redirect user to selected page.",
   "fieldname": "payment_success_url",
   "fieldtype": "Select",
   "label": "Payment Success Url",
   "mandatory_depends_on": "enable_checkout",
   "options": "\nOrders\nInvoices\nMy Account"
  },
  {
   "fieldname": "column_break_11",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "enable_checkout",
   "fieldname": "payment_gateway_account",
   "fieldtype": "Link",
   "label": "Payment Gateway Account",
   "mandatory_depends_on": "enable_checkout",
   "options": "Payment Gateway Account"
  },
  {
   "fieldname": "column_break_7",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "enable_variants",
   "fieldtype": "Check",
   "label": "Enable Variants"
  },
  {
   "default": "0",
   "depends_on": "eval: doc.enable_checkout == 0",
   "fieldname": "save_quotations_as_draft",
   "fieldtype": "Check",
   "label": "Save Quotations as Draft"
  },
  {
   "depends_on": "doc.enabled",
   "fieldname": "store_page_docs",
   "fieldtype": "HTML"
  }
 ],
 "icon": "fa fa-shopping-cart",
 "idx": 1,
 "issingle": 1,
 "links": [],
 "modified": "2021-03-02 17:34:57.642565",
 "modified_by": "Administrator",
 "module": "Shopping Cart",
 "name": "Shopping Cart Settings",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "role": "Website Manager",
   "share": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "ASC",
 "track_changes": 1
}