- Refactored Homepage with customisable Hero Section - New Homepage Section to add content on Homepage as cards or using Custom HTML - Products page at "/all-products" with customisable filters - Item Configure dialog to find an Item Variant filtered by attribute values - Contact Us dialog on Item page - Customisable Item page content using the Website Content field
		
			
				
	
	
		
			34 lines
		
	
	
		
			774 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			774 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import unicode_literals
 | |
| from frappe import _
 | |
| 
 | |
| def get_data():
 | |
| 	return [
 | |
| 		{
 | |
| 			"label": _("Portal"),
 | |
| 			"items": [
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Homepage",
 | |
| 					"description": _("Settings for website homepage"),
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Homepage Section",
 | |
| 					"description": _("Add cards or custom sections on homepage"),
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Products Settings",
 | |
| 					"description": _("Settings for website product listing"),
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Shopping Cart Settings",
 | |
| 					"label": _("Shopping Cart Settings"),
 | |
| 					"description": _("Settings for online shopping cart such as shipping rules, price list etc."),
 | |
| 					"hide_count": True
 | |
| 				}
 | |
| 			]
 | |
| 		}
 | |
| 	]
 |