Skip to content

Commit

Permalink
Fixed bug caused by #2605 (#2625)
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano authored Sep 29, 2022
1 parent 111a92f commit b315f85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ public function quickCreateAction()
$result['attributes'] = [];

/** @var Mage_Catalog_Model_Product_Type_Configurable $productType */
$productType = $product->getTypeInstance();
$productType = $configurableProduct->getTypeInstance();
foreach ($productType->getConfigurableAttributes() as $attribute) {
$value = $product->getAttributeText($attribute->getProductAttribute()->getAttributeCode());
$autogenerateOptions[] = $value;
Expand Down

0 comments on commit b315f85

Please sign in to comment.