@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content') {{ trans('plugins/ecommerce::shipping.select_country') }} @if(! EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) {{ trans('plugins/ecommerce::shipping.shipping_based_on_location_instruction', ['link_text' => trans('plugins/ecommerce::setting.checkout.form.load_countries_states_cities_from_location_plugin') ]) }} @endif @if(! EcommerceHelper::isZipCodeEnabled()) {{ trans('plugins/ecommerce::shipping.shipping_based_on_zip_code_instruction', ['link_text' => trans('plugins/ecommerce::setting.checkout.form.zip_code_enabled') ]) }} @endif @if (! empty($shipping)) @foreach ($shipping as $shippingItem) {{ trans('plugins/ecommerce::shipping.country') }} {{ Arr::get(EcommerceHelper::getAvailableCountries(), $shippingItem->title, $shippingItem->title) }} {{ trans('plugins/ecommerce::shipping.add_shipping_rule') }} {{ trans('plugins/ecommerce::shipping.delete') }} @foreach ($shippingItem->rules as $rule) @include('plugins/ecommerce::shipping.rules.item', compact('rule')) @endforeach @endforeach @endif @php $extraShippingOptions = apply_filters(SHIPPING_METHODS_SETTINGS_PAGE, null); @endphp @if ($extraShippingOptions) {!! apply_filters(SHIPPING_METHODS_SETTINGS_PAGE, null) !!} @else @endif {!! $form->renderForm() !!} @endsection @push('footer') @include('plugins/ecommerce::shipping.rules.form', ['rule' => null])