{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'configuration'} {/block} {block name="page-title"}{intl l='Store'}{/block} {block name="check-resource"}admin.configuration.store{/block} {block name="check-access"}update{/block} {block name="main-content"}
{intl l="Store configuration"}
{form name='thelia.configuration.store'} {form_hidden_fields} {form_field field='success_url'} {/form_field} {include file = "includes/inner-form-toolbar.html" hide_flags = true page_url = "{url path='/admin/configuration/store'}" close_url = "{url path='/admin/configuration'}" }

{intl l='General'}

{if $form_error}
{$form_error_message}
{/if}
{render_form_field field='store_name'} {render_form_field field='store_description'} {render_form_field field='store_business_id'}

{intl l='Email addresses'}

{render_form_field field='store_email'} {render_form_field field='store_notification_emails'}

{intl l='Media'}

{render_form_field field='favicon_file'}
{local_media type="favicon" width=64 height=64} {/local_media}
{render_form_field field='logo_file'}
{local_media type="logo"} {/local_media}
{render_form_field field='banner_file'}
{local_media type="banner"} {/local_media}

{intl l="Store address"}

{render_form_field field='store_address1'} {render_form_field field='store_address2' show_label=false} {render_form_field field='store_address3' show_label=false}
{render_form_field field='store_zipcode'}
{render_form_field field='store_city'}
{custom_render_form_field field='store_country'}
{/custom_render_form_field}

{intl l='Phone & Fax'}

{render_form_field field='store_phone'}
{render_form_field field='store_fax'}
{include file = "includes/inner-form-toolbar.html" hide_flags = true page_bottom = true page_url = "{url path='/admin/configuration/store'}" close_url = "{url path='/admin/configuration'}" } {/form}
{/block} {block name="javascript-last-call"}
{hook name="config-store.js" location="config-store-js" } {/block}