{intl l="Free carriage rules"}
{loop type="auth" name="can_create" role="ADMIN" module="freeShipping" access="CREATE"}
{/loop}
| {intl l="Area"} |
{intl l="Amount up to ... (€)"} |
{intl l="Actions"} |
{loop name="rules" type="free_shipping"}
| {$AREA_NAME} |
{$AMOUNT} |
{loop type="auth" name="can_change" role="ADMIN" module="freeShipping" access="UPDATE"}
{/loop}
|
{/loop}
{* -- Add rule confirmation dialog ----------------------------------- *}
{form name="freeShipping.admin.rule.creation"}
{capture "rule_creation_dialog"}
{form_hidden_fields form=$form}
{form_field form=$form field='success_url'}
{/form_field}
{form_field form=$form field='area'}
{/form_field}
{form_field form=$form field='amount'}
{/form_field}
{/capture}
{include
file = "includes/generic-create-dialog.html"
dialog_id = "rule_create_dialog"
dialog_title = {intl l="Create a new rule"}
dialog_body = {$smarty.capture.rule_creation_dialog nofilter}
dialog_ok_label = {intl l="Create"}
dialog_cancel_label = {intl l="Cancel"}
form_action = {url path='/admin/module/FreeShipping/create'}
form_enctype = {form_enctype form=$form}
form_error_message = $form_error_message
}
{/form}
{* -- Delete rule confirmation dialog ----------------------------------- *}
{capture "rule_delete_dialog"}
{/capture}
{include
file = "includes/generic-confirm-dialog.html"
dialog_id = "rule_delete_dialog"
dialog_title = {intl l="Delete this rule"}
dialog_message = {intl l="Do you really want to delete this rule ?"}
form_action = {token_url path='/admin/module/FreeShipping/delete'}
form_content = {$smarty.capture.rule_delete_dialog nofilter}
}