How to save and update free text fields from frontend in shopware 5.5.4

{extends file="parent:frontend/register/personal_fieldset.tpl"} {block name='frontend_register_personal_fieldset_input_mail'} {$smarty.block.parent} {block name='frontend_register_personal_fieldset_input_occupation'} <div class="register--occupation"> <input name="register[personal][attribute][occupation]" type="text" required="required" aria-required="true" placeholder="Occupation {s name="RequiredField" namespace="frontend/register/index"}{/s}" id="register_occupation" value="{$formData.attribute.occupation|escape}" class="register--field is--required{if isset($error_flags.occupation)} has--error{/if}" /> </div> {/block} {/block}
{extends file="parent:frontend/account/profile.tpl"} {block name="frontend_account_profile_profile_input_lastname"} {$smarty.block.parent} {block name='frontend_account_profile_profile_input_occupation'} <div class="profile--occupation"> <input name="profile[attribute][occupation]" type="text" required="required" aria-required="true" placeholder="Occupation" value="{$sUserData.additional.user.occupation|escape}" class="profile--field is--required{if $errorFlags.occupation} has--error{/if}" /> </div> {/block} {/block}

--

--

2Hats Logic is a technology service company provide customized web and mobile application development.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
2Hats Logic Solutions

2Hats Logic Solutions

2Hats Logic is a technology service company provide customized web and mobile application development.