From 8b0c0b9c9ec629826a19d1c07547e2a62b8a4fd7 Mon Sep 17 00:00:00 2001 From: luigifab <31816829+luigifab@users.noreply.github.com> Date: Tue, 4 May 2021 16:28:29 +0200 Subject: [PATCH] Reset array on product reset (#1582) --- app/code/core/Mage/Catalog/Model/Product.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/code/core/Mage/Catalog/Model/Product.php b/app/code/core/Mage/Catalog/Model/Product.php index 4752982a5ec..6ed5dfebf87 100644 --- a/app/code/core/Mage/Catalog/Model/Product.php +++ b/app/code/core/Mage/Catalog/Model/Product.php @@ -2272,6 +2272,9 @@ protected function _clearData() $this->_options = array(); $this->_canAffectOptions = false; $this->_errors = array(); + $this->_defaultValues = array(); + $this->_storeValuesFlags = array(); + $this->_lockedAttributes = array(); return $this; }