We wanted to create a widget in a custom location that currently doesn't have a widget. We did this by editing the widgetzones.json file in the appdata folder and then adding the widgetzone to the html.
1. Is this the correct way to do this?
2. Is there a way for a plugin to add a file to the wigetzones.json file in code?
3. If the answer to #2 is No, is there a reason why we shouldn't allow a plugin to do this?
4. Would smartstore run faster if we removed unused widgetzones from the json file? I assume smartstore has to process all of these every time it renders a page.
5. Does the name field of the wigetzone have anything to do with the location? Is there a difference in the system if I add a new entery to the "Shoppingcart" widget that already exists or make my own section like below.
{ "name": "CustomWidget", "zones": [ "custom_order_summary_content_after" ] }