Skip to content

Commit

Permalink
added trigger for switchShippingMethodValidation in onestepcheckout o…
Browse files Browse the repository at this point in the history
…n load
  • Loading branch information
timoj committed Oct 25, 2018
1 parent 7ba040c commit a52f314
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public function buildWuunderData($infoArray, $order, $bookingToken)
$sourceObj = array(
"product" => "Magento 1 extension",
"version" => array(
"build" => "4.0.5",
"build" => "4.0.6",
"plugin" => "4.0"
),
"platform" => array(
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/Wuunder/WuunderConnector/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Wuunder_WuunderConnector>
<version>4.0.5</version>
<version>4.0.6</version>
</Wuunder_WuunderConnector>
</modules>
<global>
Expand Down
3 changes: 3 additions & 0 deletions js/wuunder/parcelshops.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ function initParcelshopMethod(url, apiUrl, carriers) {

if (window.parent.document.getElementById(parcelshopMethodId).checked) {
window.parent.document.getElementById(parcelshopInfoDiv).style.display = 'block';

//Trigger onClick function, to trigger switchShippingMethodValidation function in onestepcheckout
window.parent.document.getElementById(parcelshopMethodId).click();
}
}

Expand Down

0 comments on commit a52f314

Please sign in to comment.