{* * Template used by shopSalesChannelType->getFormHtml() * with fields rendered by waHtmlControl. * * Custom sales channel may either override getFormFieldsConfig() * and use this generic template; or override getFormHtml(), skip * all waHtmlControl configs and use any custom template they want. * * Note that channels.js included here contains form save logic * and may still be useful even for custom form. *}
{if !empty($channel.id)} {else} {/if}
[`Enabled`]
{* * data[*] see shopSalesChannelType->getBaseFieldsConfig() * data[params][*] see ->getFormFieldsConfig() *} {foreach $form_fields as $name => $control_html}
{$control_html}
{/foreach}
{if !empty($channel.id)}
{/if}