PHPackages                             razzzila-dev/module-static-block-by-customer-group - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. razzzila-dev/module-static-block-by-customer-group

ActiveMagento2-module

razzzila-dev/module-static-block-by-customer-group
==================================================

N/A

1.0.0(6y ago)21.2k↓50%3[1 issues](https://github.com/razzzila-dev/module-static-block-by-customer-group/issues)OSL-3.0PHP

Since Mar 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/razzzila-dev/module-static-block-by-customer-group)[ Packagist](https://packagist.org/packages/razzzila-dev/module-static-block-by-customer-group)[ RSS](/packages/razzzila-dev-module-static-block-by-customer-group/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Sign in Popup module for Magento 2
==================================

[](#sign-in-popup-module-for-magento-2)

[![GitHub license](https://camo.githubusercontent.com/dcfd4525b3e95551691fd645e2123a32a45c957703d551bb36ed0aa0f2a116ed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4e61657265656e2f5374726170446f776e2e6a732e737667)](https://choosealicense.com/licenses/mit/)[![Ask Me Anything !](https://camo.githubusercontent.com/f58000eb7d904f735fbbca30835a588c716bdde0781156f1fb2e601d44307a3a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41736b2532306d652d616e797468696e672d3161626339632e737667)](mailto:dev@nikitaisakov.com?subject=%5BGitHub%5D%20Ask%20me%20anything)[![Contributions welcome](https://camo.githubusercontent.com/cade646491fa66c630684e56bcebb585d496841f5da6df2428ba9dea21b43597/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/razzzila-dev/golang-server-metrix-client/issues)

[![FPC support](https://camo.githubusercontent.com/20ae1c0109777e4f68484cb0a0663d8c1f856f3eb431a8294978291b8b39f48e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4650432d737570706f727465642d677265656e2e737667)](https://camo.githubusercontent.com/20ae1c0109777e4f68484cb0a0663d8c1f856f3eb431a8294978291b8b39f48e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4650432d737570706f727465642d677265656e2e737667)[![Tested on >= Magento 2.3.2](https://camo.githubusercontent.com/15da62094ecebaa675faee43c05a0f4ade696509a29be1f99c8a50003ec150bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5465737465642532306f6e2d2533453d2532304d6167656e746f253230322e332e322d6632363332322e737667)](https://camo.githubusercontent.com/15da62094ecebaa675faee43c05a0f4ade696509a29be1f99c8a50003ec150bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5465737465642532306f6e2d2533453d2532304d6167656e746f253230322e332e322d6632363332322e737667)[![No DB Migrations](https://camo.githubusercontent.com/3d2cf6bff4d9e393e3bd8b368e63d86ca67915bef3bcea78a74b8a8a9a28cdc3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4465706c6f792d4e6f25323044422532304d6967726174696f6e732d3236413241412e737667)](https://camo.githubusercontent.com/3d2cf6bff4d9e393e3bd8b368e63d86ca67915bef3bcea78a74b8a8a9a28cdc3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4465706c6f792d4e6f25323044422532304d6967726174696f6e732d3236413241412e737667)

Working with clients sometimes you want to add some privileges for some of them over other. Most simple example is to show the dedicated phone number of support for VIP customers. But it could be any content: images, text, even sliders, etc.

So here is the solution for this problem. Since mostly for displaying some content we use the static blocks, I just added new widget which have "Access Controll List" by Customer groups.

Works with FPC as well.

Installation
------------

[](#installation)

### Package install

[](#package-install)

#### Manual installation

[](#manual-installation)

Download archive and unzip it. Then move all files from `module-static-block-by-customer-group` folder to the `/app/code/Razzzila/StaticBlockACL` folder.

#### Using Composer

[](#using-composer)

Change working directory to `` and run:

```
composer require razzzila-dev/module-static-block-by-customer-group
bin/magento module:enable Razzzila_StaticBlockACL
bin/magento cache:flush
```

Usage
-----

[](#usage)

Let's create 2 blocks: one with default support number inside and another one with a dedicated phone number for VIP customers.

For doing so, in the admin panel open Content -&gt; Blocks and click "Add new block" button. Fill fields and click "Save &amp; Duplicate". Enable block, change Identifier, Block title, and Content (replace with a dedicated number) and click "Save".

Now navigate to Block or Page where you want to put a dynamic block (based on the customer group). In the content editor click on "Insert Widget" and choose "Static Block ACL". The first block will be default one, so choose the block with default phone number and choose groups for whom you want to show it (all except VIP group). The second one will be for VIP customers only. Right after the widget from above create another one but here choose the block with dedicated for VIP customers phone number and choose VIP customer group. Save the page/block.

To apply changes navigate to the Cache Management and Refresh the FPC(Full Page Cache).

Support
-------

[](#support)

This module is not my priority, so in time support not guaranteed. But feel free to open new issues and create pull-requests if needed.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2234d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29059c0e74271cca74c35f12be491e35066674e09575704fbf2443322f405227?d=identicon)[razzzila-dev](/maintainers/razzzila-dev)

---

Tags

magento2magento2-extensionmagento2-extension-freemagento2-modulemagento2-module-free

### Embed Badge

![Health badge](/badges/razzzila-dev-module-static-block-by-customer-group/health.svg)

```
[![Health](https://phpackages.com/badges/razzzila-dev-module-static-block-by-customer-group/health.svg)](https://phpackages.com/packages/razzzila-dev-module-static-block-by-customer-group)
```

###  Alternatives

[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[hyva-themes/magento2-react-checkout

Highly customizable Magento 2 Checkout, built with React

189169.8k1](/packages/hyva-themes-magento2-react-checkout)[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14481.5k](/packages/opengento-module-gdpr)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

18116.2k](/packages/imi-magento2-friendly-captcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
