diff --git a/app/code/Firebear/ConfigurableProducts/Plugin/Helper/Catalog/Product.php b/app/code/Firebear/ConfigurableProducts/Plugin/Helper/Catalog/Product.php index 0c7c6a7..4f3498d 100644 --- a/app/code/Firebear/ConfigurableProducts/Plugin/Helper/Catalog/Product.php +++ b/app/code/Firebear/ConfigurableProducts/Plugin/Helper/Catalog/Product.php @@ -8,11 +8,11 @@ class Product protected $catalogSession; /** - * @param \Magento\ConfigurableProduct\Model\Resource\Product\Type\Configurable $catalogProductTypeConfigurable + * @param \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $catalogProductTypeConfigurable * @param \Magento\Catalog\Model\Session $catalogSession */ public function __construct( - \Magento\ConfigurableProduct\Model\Resource\Product\Type\Configurable $catalogProductTypeConfigurable, + \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable $catalogProductTypeConfigurable, \Magento\Catalog\Model\Session $catalogSession ) { $this->catalogProductTypeConfigurable = $catalogProductTypeConfigurable; @@ -45,4 +45,4 @@ public function beforeInitProduct(\Magento\Catalog\Helper\Product $subject, $pro return [$productId, $controller, $params]; } -} \ No newline at end of file +} diff --git a/app/code/Firebear/ConfigurableProducts/etc/frontend/di.xml b/app/code/Firebear/ConfigurableProducts/etc/frontend/di.xml index e50285e..a0b6319 100644 --- a/app/code/Firebear/ConfigurableProducts/etc/frontend/di.xml +++ b/app/code/Firebear/ConfigurableProducts/etc/frontend/di.xml @@ -4,7 +4,8 @@ * Copyright © 2015 Firebear Studio. All rights reserved. */ --> - + diff --git a/app/code/Firebear/ConfigurableProducts/etc/module.xml b/app/code/Firebear/ConfigurableProducts/etc/module.xml index af9a6e2..3d9d63f 100644 --- a/app/code/Firebear/ConfigurableProducts/etc/module.xml +++ b/app/code/Firebear/ConfigurableProducts/etc/module.xml @@ -4,6 +4,7 @@ * Copyright © 2015 Firebear Studio. All rights reserved. */ --> - + diff --git a/app/code/Firebear/ConfigurableProducts/registration.php b/app/code/Firebear/ConfigurableProducts/registration.php new file mode 100644 index 0000000..7224300 --- /dev/null +++ b/app/code/Firebear/ConfigurableProducts/registration.php @@ -0,0 +1,7 @@ +