We can create new subtab, a new section in the subtab and different field types
{
"type": "object",
"group":
{
"id": "customershipmethod",
"title": "Ship Methods",
"description": "Ship Methods to be shown based on customer segments"
},
"subtab":
{
"id": "customshipmethods",
"title": "Setup Ship Methods",
"description": "Setup ship methods based on customer segments",
"group": "customershipmethod"
},
"properties":
{
"customshipmethods.setupshipmethod":
{
"group": "customershipmethod",
"subtab": "customshipmethods",
"type": "array",
"title": "Setup Customer Segment Ship Methods",
"description": "If no fields are added then default shipping method will be shown or else only methods added in below setup will be shown",
"items":
{
"type": "object",
"properties":
{
"customersegment":
{
"type": "string",
"title": "Customer Segment",
"description": "Select Customer Segment",
"enum": ["Retail (65987)", "Wholesale Blvd (67166)", "Wholesale PT (67165)", "Retail Blvd (67435)", "Retail PT (67434)"],
"mandatory": true
},
"shipMethodID":
{
"type": "string",
"title": "Ship Method Internal ID",
"description": "Add preferred ship method internal ID",
"mandatory": true
}
}
}
}
}
}
The above code creates a subtab and a list section in the configuration record
"eventpagedetails.topsection":
{
"group": "eventpage",
"subtab": "eventpagedetails",
"type": "string",
"title": "Top Section HTML",
"nsType" : "richtext",
"description": ""
}
//the code creates a richtext in configuration record
"header.notShowCurrencySelector": {
"group": "custom",
"subtab": "customtab"
, "type": "boolean"
, "title": "Checkbox"
, "default": false
}
//the code creates a checkbox in configuration record
"eventpagedetails.topsection":
{
"group": "eventpage",
"subtab": "eventpagedetails",
"type": "string",
"title": "Top Section HTML",
"nsType" : "textarea",
"description": ""
}
//the code creates a textarea in configuration record