{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'configuration'} {/block} {block name="page-title"}{intl l='Thelia Shipping zones'}{/block} {block name="check-resource"}admin.configuration.shipping-zone{/block} {block name="check-access"}view{/block} {block name="main-content"}
{intl l="Delivery module"} | {intl l="Shipping zones for this module"} | {hook name="shipping-zones.table-header" location="shipping_zones_table_header" }{intl l="Actions"} |
---|---|---|
{$CODE} - {$TITLE} | {loop name="area.module.associated" type="area" with_zone=$ID backend_context="1"} {$countries = ''} {loop name="country-area" type="country" area=$ID backend_context="1" visible="*"} {$countries = "$countries, $TITLE"} {/loop} {$countries = ltrim($countries, ', ')} {$NAME}{if $LOOP_COUNT < $LOOP_TOTAL},{/if} {/loop} {elseloop rel="area.module.associated"} {intl l="There are no shipping zones attached to this module."} {/elseloop} | {hook name="shipping-zones.table-row" location="shipping_zones_table_row" module_id={$ID} }{include file='renderer/buttons.html' buttons=[ [ 'type' => 'edit', 'class' => 'shipping-zones-change', 'title' => {intl l='Change this shipping zone'}, 'href' => {url path="/admin/configuration/shipping_zones/update/%id" id=$ID}, 'auth' => ['resource' => 'admin.configuration.shipping-zone'] ] ]} |
{intl l="No shipping zone defined yet. Click the + button to create one."}
|