@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')
{!! Form::open(['url' => route('ecommerce.settings'), 'class' => 'main-setting-form']) !!}
@if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) @else @endif
@if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) @else @endif
@if (EcommerceHelper::isZipCodeEnabled()) @endif

{{ trans('plugins/ecommerce::ecommerce.change_order_format_description', ['number' => config('plugins.ecommerce.order.default_order_start_number')]) }}

#

{{ trans('plugins/ecommerce::ecommerce.order_will_be_shown') }} #{{ get_ecommerce_setting('store_order_prefix') ? get_ecommerce_setting('store_order_prefix') . '-' : '' }}{{ config('plugins.ecommerce.order.default_order_start_number') }}{{ get_ecommerce_setting('store_order_suffix') ? '-' . get_ecommerce_setting('store_order_suffix') : '' }}

@if (get_ecommerce_setting('exchange_rate_api_provider') === 'api_layer' && get_ecommerce_setting('api_layer_api_key') || (get_ecommerce_setting('exchange_rate_api_provider') === 'open_exchange_rate') && get_ecommerce_setting('open_exchange_app_id') )
@endif
{{ trans('plugins/ecommerce::currency.code') }}
{{ trans('plugins/ecommerce::currency.symbol') }}
{{ trans('plugins/ecommerce::currency.number_of_decimals') }}
{{ trans('plugins/ecommerce::currency.exchange_rate') }}
{{ trans('plugins/ecommerce::currency.is_prefix_symbol') }}
{{ trans('plugins/ecommerce::currency.is_default') }}
{{ trans('plugins/ecommerce::currency.remove') }}
{!! Form::helper(trans('plugins/ecommerce::currency.instruction')) !!} {{ trans('plugins/ecommerce::currency.new_currency') }}
@foreach ($storeLocators as $storeLocator) @endforeach
{{ trans('core/base::tables.name') }} {{ trans('core/base::tables.email') }} {{ trans('plugins/ecommerce::ecommerce.setting.phone') }} {{ trans('plugins/ecommerce::ecommerce.setting.address') }} {{ trans('plugins/ecommerce::ecommerce.setting.is_primary') }}  
{{ $storeLocator->name }} {{ $storeLocator->email }} {{ $storeLocator->phone }} {{ $storeLocator->address }}, {{ $storeLocator->city_name }}, {{ $storeLocator->state_name }}, {{ $storeLocator->country_name }} {{ $storeLocator->is_primary ? trans('core/base::base.yes') : trans('core/base::base.no') }} @if (!$storeLocator->is_primary && $storeLocators->count() > 1) @endif
{{ trans('plugins/ecommerce::ecommerce.setting.add_new') }} @if (count($storeLocators) > 0)

{{ trans('plugins/ecommerce::ecommerce.setting.or') }} {{ trans('plugins/ecommerce::ecommerce.setting.change_primary_store') }}

@endif
 
{!! Form::close() !!}
@endsection @push('footer') @include('plugins/ecommerce::settings.store-locator-item', ['locator' => null]) @include('plugins/ecommerce::settings.store-locator-item', ['locator' => null]) {!! trans('plugins/ecommerce::ecommerce.setting.delete_location_confirmation') !!} @include('plugins/ecommerce::settings.store-locator-change-primary', compact('storeLocators')) {!! $jsValidation !!} @endpush