{$thelia_page_css_file = "assets/bootstrap-editable/css/bootstrap-editable.css"} {include file='includes/notifications.html' message=$general_error}
{$title}
{form_hidden_fields} {form_field field='locale'} {/form_field} {form_field field='success_url'} {/form_field} {if !$noConditions} {include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false page_url = {url path=$formAction} close_url = {url path='/admin/coupon'} } {else} {include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false hide_save_and_close_button = true hide_flags = true page_url = {url path=$formAction} close_url = {url path='/admin/coupon'} } {/if}
{form_field field='code'}
{intl l='Coupon code * :'} {intl l='This is the code entered by your customers to use this coupon'} {if $error}{$message}{/if}
{/form_field}
{form_field field='type'}
{intl l='Coupon type * :'}
{if $error}{$message}{/if} {$availableCoupons.0.toolTip}
{/form_field}
{form_field field='isEnabled'}
{if $error}{$message}{/if} {intl l='Enabled'}
{/form_field} {form_field field='isAvailableOnSpecialOffers'}
{if $error}{$message}{/if} {intl l='Valid on special offers'}
{/form_field} {form_field field='isCumulative'}
{if $error}{$message}{/if} {intl l='Combinable with other promotions'}
{/form_field} {form_field field='startDate'}
{intl l='Start Date'} : {if $error}{$message}{/if}
{/form_field} {form_field field='expirationDate'}
{intl l='Expiration date * :'} {* Do not use 'date' input type, as some browsers enforce RFC339 date formats, which is not what we want *} {if $error}{$message}{/if}
{/form_field} {form_field field='maxUsage'}
{intl l='Unlimited number of uses'}
{/form_field}
{form_field field='maxUsage'}
{intl l='Maximum usage count :'} {if $error}{$message}{/if}
{/form_field} {form_field field='perCustomerUsageCount'}
{foreach $choices as $choice} data}checked="checked"{/if}> {$choice->label} {/foreach}
{/form_field}
{form_field field='isRemovingPostage'}
{if $error}{$message}{/if} {intl l='Provides free shipping'}
{/form_field}
{form_field field='freeShippingForCountries'}
{intl l="Free shipping to countries :"}
{intl l='Use Ctrl+click to select (or deselect) more that one country'}
{/form_field} {form_field field='freeShippingForModules'}
{intl l="Free shipping for methods :"}
{intl l='Use Ctrl+click to select (or deselect) more that one shipping method'}
{/form_field}
{$couponInputsHtml nofilter}
{loop type="lang" name="get-flag" id=$edit_language_id} {form_field field='title'}
{intl l='Title * :'}
{if $error}{$message}{/if}
{/form_field} {form_field field='shortDescription'}
{intl l='Short description :'} {$value nofilter} {if $error}{$message}{/if}
{/form_field} {form_field field='description'}
{intl l='Long description :'} {$value nofilter} {if $error}{$message}{/if}
{/form_field} {/loop}
{if $noConditions}

{intl l="Coupon conditions"}

{include file='includes/notifications.html' alert_type='info' dismissable=false message={intl l='Please save this coupon first to define coupon conditions'}}
{else}

{intl l="Coupon conditions"}

{intl l='Condition description'} | {intl l='Actions'}
--- | ---
{include file='coupon/conditions.html' conditions=$conditions}

{intl l="Add a condition"}

{intl l='Condition category :'}
{intl l='Save this condition'}
{/if}