@if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation()) @php $stateOptions = []; if ($locator ? $locator->country : null || !EcommerceHelper::isUsingInMultipleCountries()) { $stateOptions = EcommerceHelper::getAvailableStatesByCountry($locator ? $locator->country : null); } @endphp @else @endif @if (EcommerceHelper::useCityFieldAsTextField()) @else @php $cityOptions = []; if ($locator ? $locator->state : null) { $cityOptions = EcommerceHelper::getAvailableCitiesByState($locator ? $locator->state : null); } @endphp @endif @if (EcommerceHelper::isZipCodeEnabled()) @endif