diff --git a/themes/default/authentication.tpl b/themes/default/authentication.tpl index b7d151a60..b05e440ae 100644 --- a/themes/default/authentication.tpl +++ b/themes/default/authentication.tpl @@ -208,13 +208,13 @@ $(document).ready(function() {

- - + +

- - + +

{l s='Date of Birth'} @@ -253,11 +253,11 @@ $(document).ready(function() {

{if isset($newsletter) && $newsletter}

- +

- +

{/if} @@ -278,17 +278,17 @@ $(document).ready(function() { {elseif $field_name eq "address1"}

- +

{elseif $field_name eq "postcode"}

- +

{elseif $field_name eq "city"}

- +

@@ -337,7 +337,7 @@ $(document).ready(function() {

{l s='Tax identification'}

- + {l s='DNI / NIF / NIE'}

@@ -345,7 +345,7 @@ $(document).ready(function() {

*{l s='Required field'} - +

{/if} diff --git a/themes/default/js/order-opc.js b/themes/default/js/order-opc.js index 71ebb9863..1a9604b67 100644 --- a/themes/default/js/order-opc.js +++ b/themes/default/js/order-opc.js @@ -400,6 +400,7 @@ function updateNewAccountToAddressBlock() updateCartSummary(json.summary); updateAddressesDisplay(true); updateCarrierList(json.carrier_data); + updateCarrierSelectionAndGift(); updatePaymentMethods(json); if ($('#gift-price').length === 1) $('#gift-price').html(json.gift_price); @@ -595,7 +596,7 @@ $(function() { }); } - isGuest = ($('#is_new_customer').val() === 1 ? 0 : 1); + isGuest = parseInt($('#is_new_customer').val()) === 1 ? 0 : 1; // update addresses id if(jsonData.id_address_delivery !== undefined && jsonData.id_address_delivery > 0) $('#opc_id_address_delivery').val(jsonData.id_address_delivery); @@ -628,7 +629,7 @@ $(function() { // force to refresh carrier list if (isGuest) - { + { isLogged = 1; $('#opc_account_saved').fadeIn('slow'); $('#submitAccount').hide();