We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c59e94 + 8e74137 commit 1e35076Copy full SHA for 1e35076
app/code/Magento/Quote/Model/Quote.php
@@ -2363,13 +2363,17 @@ public function merge(Quote $quote)
2363
* Trigger collect totals after loading, if required
2364
*
2365
* @return $this
2366
+ * @throws \Exception
2367
*/
2368
protected function _afterLoad()
2369
{
2370
// collect totals and save me, if required
2371
if (1 == $this->getData('trigger_recollect')) {
- $this->collectTotals()->save();
2372
+ $this->collectTotals()
2373
+ ->setTriggerRecollect(0)
2374
+ ->save();
2375
}
2376
+
2377
return parent::_afterLoad();
2378
2379
0 commit comments