Restrict Product for Magento 2
Magento Compatibility: 2.4
Extension VERIFIED By: Magento Marketplace
Screenshots
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/1/-/1-restric-gym-backend-rule.png)
Example 1 - Hide Gym Bags - Rules settings
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/2/-/2-before-restrict-gym.png)
Example 1 - Category page - Before the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/3/-/3-after-restrict-gym.png)
Example 1 - Category page - After the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/g/r/grid.png)
Backend grid
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/n/e/new-rule-info.png)
Add Rule form - Rule Information tab
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/b/a/backend-form-rule-conditions.png)
Add Rule form - Product Conditions tab
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/b/a/backend-form-rule-config-redirec-to-url.png)
Add Rule form - Configuration tab - Hide Product - Redirect to URL
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/b/a/backend-form-rule-config-cms-page.png)
Add Rule form - Configuration tab - Hide Product - Redirect to CMS Page
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/b/a/backend-form-hide-price-options.png)
Add Rule form - Configuration tab - Hide Price/Add to Cart
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/b/a/backend-form-cms-blocks.png)
Add Rule form - Configuration tab - Replace Price/Add to Cart with CMS Block
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/4/-/4-restric-cotton-tees-backend-rule.png)
Example 2 - Hide Price/Add to Cart for Contton Tops - Rules settings
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/1/0/10-restrict-leggings-before-plp.png)
Example 2 - Category page - Before the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/1/1/11-restrict-leggings-after-plp.png)
Example 2 - Category page - After the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/7/-/7-before-restrict-pdp-cotton-tees.png)
Example 2 - Product page - Before the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/8/-/8-after-restrict-pdp-cotton-tees.png)
Example 2 - Product page - After the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/9/-/9-restrict-leggings-backend-rule.png)
Example 2 - Replace Price/Add to Cart for Leggings - Rules settings
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/5/-/5-before-restrict-cotton-tees.png)
Example 3 - Category page - Before the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/6/-/6-after-restrict-cotton-tees.png)
Example 3 - Category page - After the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/1/2/12-restrict-leggings-before-pdp.png)
Example 3 - Product page - Before the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/1/3/13-restrict-leggings-after-pdp.png)
Example 3 - Product page - After the rule is applied
![](https://magediary.com/media/catalog/product/cache/b2c8a658a8f8babbcc5aeb8ee18c28db/c/o/config.png)
Backend Configuration
What if you want to hide products to the frontend based on conditions like product category is X, attribute set is Bag etc?
What if you want to hide the price or add to cart or replace it with some message for specific products?
What if you want to hide products to only specific customer groups?
What if you want to hide products from specific store views?
Restrict Products is the extension that fulfils all the above possibilities. It allows you to restrict specific sets of products based on rules. You can either remove products from the frontend, or hide product price and/or add to cart and/or replace it with a static block for specific store views, customer groups and also set conditions based on product attributes.
- Initial Release