We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6494c9f commit ab83cdbCopy full SHA for ab83cdb
app/code/Magento/Quote/Model/Quote/Item.php
@@ -270,7 +270,7 @@ public function beforeSave()
270
*/
271
public function getAddress()
272
{
273
- if ($this->getQuote()->getItemsQty() == $this->getQuote()->getVirtualItemsQty()) {
+ if ($this->getQuote()->isVirtual()) {
274
$address = $this->getQuote()->getBillingAddress();
275
} else {
276
$address = $this->getQuote()->getShippingAddress();
0 commit comments