Jump to content

Editare meniu, locatii magazin in Google Maps


Recommended Posts

banuiesc ca la asta te referi:



<script type="text/javascript">

// <![CDATA[

idSelectedCountry = {if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}false{/if};

countries = new Array();

countriesNeedIDNumber = new Array();

countriesNeedZipCode = new Array();

{if isset($countries)}

{foreach from=$countries item='country'}

{if isset($country.states) && $country.contains_states}

countries[{$country.id_country|intval}] = new Array();

{foreach from=$country.states item='state' name='states'}

countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim});



{if $country.need_identification_number}



{if isset($country.need_zip_code)}

countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code};





$('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state}{else}{if isset($address)}{$address->id_state|escape:'htmlall':'UTF-8'}{/if}{/if}]').attr('selected', 'selected');



{if $vat_management}


$(document).ready(function() {





function vat_number()


if ($('#company').val() != '')









Link to comment
Share on other sites

verifica daca ai acest fragment


  {elseif $field_name eq "State:name"}
  {assign var='stateExist' value=true}
  <p class="required id_state select">
   <label for="id_state">{l s='State'} <sup>*</sup></label>
   <select name="id_state" id="id_state">
	<option value="">-</option>

Edited by valentin.g (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...