To create the presentation for an element on the storefront, you have to do the following:
Create the HTML content for the element
Modify the widget’s
display.template
to include the element, thereby creating an element-based widget.Add a
widget.template
file to manage editing of the element-based widget on the Design page.