Install the Сoncrete SKU product filter feature
Edit on GitHubThis document describes how to install the Concrete SKU product filter feature.
1) Install the required modules
composer require spryker/product-management:^0.19.48 --update-with-dependencies
Verification
Make sure that the following modules have been installed:
MODULE | EXPECTED DIRECTORY |
---|---|
ProductModule | vendor/spryker/product-management |
2) Enable the feature in the config
Extend the isConcreteSkuSearchInProductTableEnabled
method in the ProductManagementConfig
class at the project level and return true
:
src/Pyz/Zed/ProductManagement/ProductManagementConfig.php
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Pyz\Zed\ProductManagement;
use Spryker\Zed\ProductManagement\ProductManagementConfig as SprykerProductManagementConfig;
class ProductManagementConfig extends SprykerProductManagementConfig
{
/**
* @return bool
*/
public function isConcreteSkuSearchInProductTableEnabled(): bool
{
return true;
}
}
Thank you!
For submitting the form