We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3a0ef commit b3a21c4Copy full SHA for b3a21c4
app/code/Magento/ConfigurableProduct/Setup/Patch/Data/UpdateManufacturerAttribute.php
@@ -51,14 +51,14 @@ public function apply()
51
/** @var EavSetup $eavSetup */
52
$eavSetup = $this->eavSetupFactory->create(['setup' => $this->moduleDataSetup]);
53
54
- if($manufacturerAttribute = $eavSetup->getAttribute(
+ if($manufacturer = $eavSetup->getAttribute(
55
\Magento\Catalog\Model\Product::ENTITY,
56
'manufacturer',
57
'apply_to')
58
) {
59
$relatedProductTypes = explode(
60
',',
61
- $manufacturerAttribute
+ $manufacturer
62
);
63
64
if (!in_array(Configurable::TYPE_CODE, $relatedProductTypes)) {
0 commit comments