{include file="templates/includes/AiForm.functions.html" inline} {$waid_is_connected = $wa->shop->waidIsConnected()} {$is_premium = shopLicensing::hasPremiumLicense()} {$fields_for_any_license = ['text_length']}

[`Generate with AI`]

{if !$waid_is_connected} {include file="templates/includes/webasystAINotAvailableAlert.html" inline} {/if} {if !empty($field_to_fill)} {/if} {if $sections} {$product_details = array_shift($sections)}
{foreach $product_details.fields as $f} {render_field f=$f} {/foreach}
{/if}