wip: fix issue with conditions not being properly removed

This commit is contained in:
Joel Male
2024-09-18 15:56:12 +10:00
parent c6c4240c5f
commit 472d505041
3 changed files with 5 additions and 8 deletions
+1 -4
View File
@@ -406,9 +406,6 @@ public function removeCartCondition($conditionName)
$conditions->pull($conditionName);
// reset indexes
$conditions = $conditions->values();
$this->saveConditions($conditions);
}
@@ -736,7 +733,7 @@ protected function addItem($id, $item)
/**
* save the cart
*
* @param $cart CartCollection
* @param $cart CartCollection
*/
protected function save($cart)
{