diff --git a/themes/default/mobile/js/opc.js b/themes/default/mobile/js/opc.js index 6ef6a3a04..1f682df24 100644 --- a/themes/default/mobile/js/opc.js +++ b/themes/default/mobile/js/opc.js @@ -82,7 +82,7 @@ function initEvent() data: 'ajax=true&method=updateTOSStatusAndGetPayments&checked=' + checked + '&token=' + static_token, success: function(json) { - window.location.href = orderOpcUrl; + window.location.href = orderOpcUrl+'#cgv_checkbox'; } }); }); @@ -102,7 +102,7 @@ function updateCarrierSection(elm) var gift = 0; var giftMessage = ''; - var delivery_option_radio = $('.delivery_option_radio'); + var delivery_option_radio = $('.delivery_option_radio_carrier'); var delivery_option_params = '&'; $.each(delivery_option_radio, function(i) { if ($(this).prop('checked')) @@ -129,7 +129,7 @@ function updateCarrierSection(elm) success: function(jsonData) { if (!elm.is('#gift')) - window.location.href = orderOpcUrl; + window.location.href = orderOpcUrl+'#delivery_choose'; } }); } diff --git a/themes/default/mobile/order-opc-carrier.tpl b/themes/default/mobile/order-opc-carrier.tpl index 57c79d2d8..08c938cf6 100644 --- a/themes/default/mobile/order-opc-carrier.tpl +++ b/themes/default/mobile/order-opc-carrier.tpl @@ -26,14 +26,14 @@ {capture assign='page_title'}{l s='Shipping'}{/capture} {include file='./page-title.tpl'} -
-

{l s='Choose your delivery method'}

+
+

{l s='Choose your delivery method'}

{if isset($delivery_option_list)} {foreach $delivery_option_list as $id_address => $option_list} {foreach $option_list as $key => $option} {foreach $option.carrier_list as $carrier} - + {/foreach} {/foreach} @@ -56,7 +56,7 @@

{l s='Terms of service'}

-
+