Is there a way for magento to display specific static block only to specific group?
For example show one banner for Retail users, and another one for Not logged in users.
Using Magento CE 2.2.5
Solved! Go to Solution.
Hello @ivan_golubovic
This is not Magento native feature, you have to do these customizations.
Hello @ivan_golubovic
You can create a configuration in admin panel as attached screenshot:
Based on that you can call block where ever you want according to the customer group.
Where did you find that option? In block settings there is no such option.
Hello @ivan_golubovic
This is not Magento native feature, you have to do these customizations.
@ivan_golubovicMagento does not come with out of the box solution you are looking for. This is what @Manish Mittal is trying to explain you. If you want to show different banner before and after you can use "Customer Group" to manage the same. However, you would have to extend the banner manager extension you may be using. Similarly same check/customization is needed in case you want to show different blocks.
It is upto you how you want to handle is. You can directly put checks in your code or you can provide the configuration in the Magento admin which is better approach and can be managed by non-techninal use as well. There used to be an extension for Magento1 not sure if same is available for Magento 2. You can look for a solution in Magento marketplace as well to achieve what you are looking for.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.