widget
Description
- Renders a widget file by key/path using the theme environment (normalizes path, applies translations).
Inputs
- Argument:
widgetPath(string). Example:'hero' - Note: Invoking
'product'/'cart'here is discouraged; use{% cart %}/{% product %}.
Usage
{% widget 'hero' %}