Jump to content

order carrier on mobile device bug?


Kimi

Recommended Posts

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

  • 2 years later...

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...