Skip to content

Commit 89a4076

Browse files
author
Alexandru Pasare
committed
make sure that the custom_price is properly presisted into database
1 parent 7755eef commit 89a4076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Quote/Model/Quote/Item/Updater.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ protected function unsetCustomPrice(Item $item)
145145
$item->addOption($infoBuyRequest);
146146
}
147147

148-
$item->unsetData('custom_price');
149-
$item->unsetData('original_custom_price');
148+
$item->setData('custom_price', null);
149+
$item->setData('original_custom_price', null);
150150
}
151151

152152
/**

0 commit comments

Comments
 (0)