From bb652da24923f321f4660a0f18bd38627752f240 Mon Sep 17 00:00:00 2001 From: Matt Davenport Date: Tue, 14 May 2024 16:28:01 -0400 Subject: [PATCH] Bypass custom options checks for bundled child items --- app/code/core/Mage/Sales/Model/Quote/Item.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/code/core/Mage/Sales/Model/Quote/Item.php b/app/code/core/Mage/Sales/Model/Quote/Item.php index 212a78f0ce2..c999c83359e 100644 --- a/app/code/core/Mage/Sales/Model/Quote/Item.php +++ b/app/code/core/Mage/Sales/Model/Quote/Item.php @@ -451,6 +451,13 @@ public function representProduct($product) if ($this->getParentItem() !== $stickWithinParent) { return false; } + + /** + * Bypass custom options checks for bundled child items + * This prevents cases of adding an additional child item to the quote + * when an existing child product is modified while the bundled item is in a cart + */ + return true; } // Check options