Skip to content

Commit

Permalink
MAGETWO-51545: [GitHub] [Dev Experience] Incorrect address TotalQty i…
Browse files Browse the repository at this point in the history
…n Totals Collector #3853

removed unused value setting
  • Loading branch information
Serhiy Shkolyarenko committed Jun 8, 2016
1 parent 75b5cd0 commit 0849297
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/code/Magento/Quote/Model/Quote/Address/Total/Subtotal.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public function collect(
\Magento\Quote\Model\Quote\Address\Total $total
) {
parent::collect($quote, $shippingAssignment, $total);
$total->setTotalQty(0);

$baseVirtualAmount = $virtualAmount = 0;

$address = $shippingAssignment->getShipping()->getAddress();
Expand Down

0 comments on commit 0849297

Please sign in to comment.