weberinformatics / magento2-hide-products
Magento 2 extension for hiding products by customer groups.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- magento/framework: ~100.0.4
This package is auto-updated.
Last update: 2024-03-28 01:04:15 UTC
README
After installing and configuring the extension, products will be hidden for specific customer groups.
Installation
To install use the following composer command:
composer require weberinformatics/magento2-hide-products
Then enable the module:
bin/magento module:enable WeberInformatics_HideProducts
bin/magento setup:upgrade
And clean the cache:
bin/magento cache:clean
Configuration
Add rules for hiding products in etc/config.json
. Example:
{
"hideRules": [
{
"productId": 1,
"customerGroupIds": [1, 2]
},
{
"productId": 3,
"customerGroupIds": [4, 5]
}
]
}