Kimi Posted August 5, 2013 Share Posted August 5, 2013 When I want to choose order carrier on mobile device using 5 page checkout, the radio button doesnt change because theres a error on onchange event: unknown reference updateExtraCarrier , that funcion is in onchange event when smarty variable $opc is false, the function updateExtraCarrier is in cart-summary.js but its not in $js_files if ($this->context->getMobileDevice() == false) according to ParentOrderController i solved it by adding condition in whether mobile_device is true: onchange="{if $opc}updateCarrierSelectionAndGift();{elseif $mobile_device==false}updateExtraCarrier('{$key}', {$id_address});{/if}" Link to comment Share on other sites More sharing options...
vekia Posted August 5, 2013 Share Posted August 5, 2013 is there any chance to test your cart? if so, please share the url Link to comment Share on other sites More sharing options...
Kimi Posted August 5, 2013 Author Share Posted August 5, 2013 (edited) is there any chance to test your cart? if so, please share the url http://presta.4allsh...mobile_theme_ok but its only in czech I tried also another website and the error was same, oh and mine is 1.5.3.1 version Edited August 5, 2013 by Kimi (see edit history) Link to comment Share on other sites More sharing options...
Totti Posted March 1, 2016 Share Posted March 1, 2016 Same error here Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now