Skip to content

Commit

Permalink
[FIX-TOTALPRICE-SHIPMENTPARAMETER] Set default value to 0.0000
Browse files Browse the repository at this point in the history
  • Loading branch information
Lex committed Jul 12, 2022
1 parent 6686456 commit ca3419c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Checkout/WidgetConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function getConfig()
],
"shipmentParameters" => [
"totalWeight" => (float)$this->getTotalWeight($goods),
"totalPrice" => (float)$this->getQuote()->getSubtotalWithDiscount(),
"totalPrice" => 0.0000,
"numberOfGoods" => (int)$this->getProductsCount(),
"goods" => $goods
],
Expand Down

0 comments on commit ca3419c

Please sign in to comment.