Products rulebased enable / disable
Product information "Products rulebased enable / disable"
Highlights
Restriction of the product range based on dynamic product groups in conjunction with rules Extensive scenarios can be mapped (individual product variants are only available for certain customers (groups)) Multiple restriction rules can be configured with prioritization and exclusion of low-priority restriction rules Ideal for store operators who want / need to restrict the product range based on rules (e.g. delivery countries, special customers, etc.)
Features
Display only certain products (rule-based) (e.g. for certain B2B customers (groups)) Display certain products (rule-controlled) on a restricted basis (e.g. restricted range for B2C) Make individual variants only available to certain (rule-controlled) customers Restrict the product range using dynamic product groups and rules Display defined products for specific customer groups, sales channels or RuleBuilder rules
Purpose
Specific products or product ranges (using dynamic product groups) can be defined and these can then be either visible / purchasable "All products cannot be found and purchased in the store, except the specified products." or the opposite, namely not visible / not purchasable "The specified products cannot be found and purchased." can be used. In addition, further restrictions such as sales channel, customers or rule-based (RuleBuilder) can be restricted. To prevent these products from being indexed by search engines, it is also possible to exclude the defined products from the sitemap.Possible use cases / application scenarios
- Make certain variants only available to certain customers (groups)
- Only display certain products for some customers
- Display products only for certain delivery countries
- Display products only after login
- and much more.
Utilization
Configuration of the product restrictions: Settings > Extensions > Product restriction > Product restriction > Add product restriction rule
The following configurations are then available:
Basic settings section
- Internal name: Is used for the overview in the administration
- Active: if active, the restriction rule is applied
- Priority: The higher the number, the higher the priority. The priority determines which product restriction rule is to be applied first. The higher the priority, the earlier the product restriction is applied.
- Exclude product restrictions with lower priority: If active, the product restriction rules with a lower priority are not applied.
Products section
If no products and dynamic product groups are selected, the rule always applies to all products!
OR link: The restriction is applied if at least one of the assigned dynamic product groups applies. If no dynamic product group is added, this applies to all products.
- Dynamic product groups
Several dynamic product groups are possible.
OR link: The condition becomes true if at least one of the assigned dynamic product groups applies. If no dynamic product group is added, this always applies to all products.
OR
- Products
Several products can be assigned.
OR link: The condition becomes true if at least one of the assigned products applies. If no product is selected, this always applies to all products.
Action section
If no products and dynamic product groups are selected and the product condition is "Not filled", the rule always applies to all products! Selection between:
- The specified products cannot be found and purchased.
or - All products cannot be found and purchased in the store, except the specified products.
Conditions section
If no condition is selected, the rule is always applied to all sales channels.
- Sales channels (optional)
One or more sales channels can be assigned. > OR link:
The condition becomes true if at least one of the assigned sales channels applies. If no sales channel is selected, this is always considered active.
AND
- Customers (optional)
One or more customers can be assigned > OR link:
The condition becomes true if at least one of the assigned customers applies. If no customer is selected, this is always considered active.
AND
- Rules (optional)
One or more RuleBuilder rules can be assigned > OR link:
The condition becomes true if at least one of the assigned rules is true. If no rule is added, this is always considered active.
Sitemap section
- Exclude products excluded by restriction rule from the sitemap.
If active, the products that cannot be found in the store due to the restriction rule are also excluded from the sitemap.
Attention! Assigned rules and customers are ignored. This always applies to all sales channels entered (if no sales channel is entered, this applies to all sales channels).
Restrictions / Notes
- Currently the categories are NOT hidden based on rules, the use of the plugin is limited to products.
- The rules of the Rulebuilder should be selected in such a way that they are applied in the storefront without significant user intervention, e.g. customer group XY, customer is logged in, customer is from country xy, etc. (Rules dependent on the shopping cart, for example, would not be useful).
- A new plugin configuration has been added to conditionally remove categories from navigation based on selected rules in combination with another plugin config.
- Improves plugin compatibility with B2b plugin.
- Fixed duplicating product restrictions.
- Fixed an issue that not visible products could be added to the cart if the customer was changed.
- Code optimizations.
- Code optimizations.
- Improved admin.
- Fixed and optimized loading of available product variants.
- Fixed icon compatibility with other plugins.
- Fixes an issue where products that are blocked for certain rules or the default customer group are removed from the cart upon login.
- Improved plugin compatibility with Shopware 6.7.
- Fixes an issue where products blocked for the default customer group are removed from the cart upon login if the user does not belong to the default customer group and has not logged in for over 24 hours.
- Improved plugin compatibility with Shopware 6.7.
- Compatibility with Shopware 6.7.
- Support for the following languages: de-DE, en-GB, nl-NL, fr-FR, es-ES, fi-FI, nn-NO, sv-SE, cs-CZ, pt-PT, tr-TR, da-DK, it-IT, pl-PL, bs-BA
- A new plugin configuration has been added to conditionally remove categories from navigation based on selected rules in combination with another plugin config.
- Improves plugin compatibility with B2b plugin.
- Code optimizations.
- Improved compatibility of the admin view with Shopware 6.6.10.0.
- Improves plugin compatibility.
- Improves plugin compatibility with Elasticsearch.
- Improves plugin compatibility.
- Improves loading of product restrictions.
- Adds validation on loading of product restrictions.
- From now on only categories of the type “page/list” will be hidden
- New plugin setting to hide categories without products
- Improved plugin compatibility for the variant display in the product listing.
- Optimisation of the info texts in the Admin.
- Fixes a problem where loading gets stuck when trying to sort by customers, sales channels or rules
- Fixes a problem where the sitemap was not created correctly in connection with the product restrictions.
- Compatibility with Shopware 6.6.
- Improves plugin compatibility with B2b plugin.
- Improves plugin compatibility.
- Improves plugin compatibility with Elasticsearch.
- Adds validation on loading of product restrictions.
- Improves loading of product restrictions.
- Improves plugin compatibility.
- From now on only categories of the type “page/list” will be hidden
- New plugin setting to hide categories without products
- Improved plugin compatibility for the variant display in the product listing.
- Performance optimisation and improved compatibility with Shopware >= 6.5.5.0 (NEXT-29895).
- Adds validation on loading of product restrictions.
- Improves loading of product restrictions.
- Improves plugin compatibility.
- Fixes a problem in connection with Shopware < 6.5.5.0 (NEXT-29895).
- Fixes a problem where loading gets stuck when trying to sort by customers, sales channels or rules
- Fixes a problem where the sitemap was not created correctly in connection with the product restrictions.
- Improved Plugin compatibility with AcrisCustomerSpecificProduct
- Plugin compatibility with AcrisCustomerSpecificProduct
- Plugin compatibility with AcrisManufacturer
- Fixed logic bug
- Plugin compatibility with AcrisB2b
- Backend optimizations
- Removed unused storefront snippets
- Refactored texts
- Refactored compatibility functionality with AcrisCustomerPrice
- Refactoring
- Code cleanup
- Compatibility with AcrisCustomerPrice over Subscriber (overhead removed, performance optimization)
- Admin optimization
- Fixed Filtering
- Compatibility with AcrisCustomerPrice
- Admin optimized
- Refactored ProductRestrictionEntity
- Fixed problem with entities being removed when saving again
- Fixed an error when listing products and customers
- code cleanup
- fixed admin
- fixed variants in admin
- fixed some stuff in sitemap (not finished yet)
- refactored column sitemap to default value false
- admin optimization
- fixed streams
- refactor route criteria
- Admin optimization
- Fixed variants in storefront
- Fixed admin product group overview
- Fixed Caching issue
- Refactoring of BlockingService
- Refactored removal of products from the sitemap
- Refactored removal of not visible product variants
- Caching problem should be fixed
- Added removal of products from the sitemap
- Fixed issue that excludes lower priorities from product restrictions for variants
- Listing sitemap moved to the back
- Email is now displayed for customers in the admin
- Texts optimized
- Variants that cannot be found are no longer displayed
- added priority for product restriction rules
- refactored texts
- optimized admin
- changed icons
- If no products or dynamic product groups have been selected, the restriction should always be active.
- Optimizes data assigning.
- Fixed some version_id references
- Fixes a problem where loading gets stuck when trying to sort by customers, sales channels or rules
- Improved compatibility with the ACRIS Sitemap plugin.
- Fixes a problem where the sitemap was not created correctly in connection with the product restrictions.
- Fixed logic bug
- Reverted, removing variants in storefront
- Performance optimisation of product queries
- Listing sitemap moved to the back
- Email is now displayed for customers in the admin
- Texts optimized
- Variants that cannot be found are no longer displayed
- Added removal of products from the sitemap
- Caching problem fixed
- refactored column sitemap to default value false
- fixed streams
- refactor route criteria
- added priority for product restriction rules
- refactored texts
- optimized admin
- changed icons
- Release
- Compatibility with Shopware 6.4
Login