132 lines
5.9 KiB
HTML
132 lines
5.9 KiB
HTML
{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"}
|
|
<div class="variables edit-variable">
|
|
|
|
<div id="wrapper" class="container">
|
|
|
|
<ul class="breadcrumb">
|
|
<li><a href="{url path='/admin/home'}">{intl l="Home"}</a></li>
|
|
<li><a href="{url path='/admin/configuration'}">{intl l="Configuration"}</a></li>
|
|
<li>{intl l="Store"}</li>
|
|
</ul>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12 general-block-decorator">
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 title title-without-tabs">
|
|
{intl l="Store configuration"}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
{form name='thelia.configuration.store'}
|
|
<form method="POST" action="{url path='/admin/configuration/store/save'}">
|
|
{form_hidden_fields}
|
|
|
|
{form_field field='success_url'}
|
|
<input type="hidden" name="{$name}" value="{url path='/admin/configuration'}">
|
|
{/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'}"
|
|
}
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<p class="title title-without-tabs">{intl l='General'}</p>
|
|
|
|
{if $form_error}
|
|
<div class="alert alert-danger">{$form_error_message}</div>
|
|
{/if}
|
|
|
|
<fieldset>
|
|
{render_form_field field='store_name'}
|
|
{render_form_field field='store_description'}
|
|
{render_form_field field='store_business_id'}
|
|
|
|
<p class="title title-without-tabs">{intl l='Email addresses'}</p>
|
|
|
|
{render_form_field field='store_email'}
|
|
{render_form_field field='store_notification_emails'}
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
<fieldset>
|
|
<p class="title title-without-tabs">{intl l="Store address"}</p>
|
|
|
|
{render_form_field field='store_address1'}
|
|
{render_form_field field='store_address2' show_label=false}
|
|
{render_form_field field='store_address3' show_label=false}
|
|
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
{render_form_field field='store_zipcode'}
|
|
</div>
|
|
<div class="col-md-9">
|
|
{render_form_field field='store_city'}
|
|
</div>
|
|
</div>
|
|
|
|
{custom_render_form_field field='store_country'}
|
|
<select {form_field_attributes field='store_country'}>
|
|
{loop type="country" name="country1"}
|
|
<option value="{$ID}" {if {$value} == $ID || (empty($value) && $IS_DEFAULT)}selected{/if}>{$TITLE}</option>
|
|
{/loop}
|
|
</select>
|
|
{/custom_render_form_field}
|
|
|
|
<p class="title title-without-tabs">{intl l='Phone & Fax'}</p>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
{render_form_field field='store_phone'}
|
|
</div>
|
|
<div class="col-md-6">
|
|
{render_form_field field='store_fax'}
|
|
</div>
|
|
</div>
|
|
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
|
|
{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>
|
|
{/form}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
|
|
{block name="javascript-last-call"}
|
|
{hook name="config-store.js" location="config-store-js" }
|
|
{/block}
|