PHPackages                             thousandmonkeys/m2-productattributeautoblock-module - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thousandmonkeys/m2-productattributeautoblock-module

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

thousandmonkeys/m2-productattributeautoblock-module
===================================================

A Magento 2 module add a static block to a product page (for instance an extra description) based on an attribute value. Multiple attributes with multiple values are supported.

v1.0.1(8y ago)42552OSL-3.0PHP

Since Apr 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lingwooc/productAttributeAutoBlock_magento2)[ Packagist](https://packagist.org/packages/thousandmonkeys/m2-productattributeautoblock-module)[ RSS](/packages/thousandmonkeys-m2-productattributeautoblock-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

productAttributeAutoBlock\_magento2
===================================

[](#productattributeautoblock_magento2)

Add a static block to a product page (for instance an extra description) based on an attribute value. Multiple attributes with multiple values are supported.

Tested and working on magento 2.1.7 &amp; Luma (other themes can and will vary).

Installation
============

[](#installation)

- composer require thousandmonkeys/m2-productattributeautoblock-module
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento setup:static-content:deploy

Usage
=====

[](#usage)

Go to `Stores/Configuration/thousandmonkeys/Product Attribute Auto Block` and enter a comma separated list of attribute ids (for instance `color,size`).

The module adds another description block to the product page. It attempts to load a list of static blocks using identifiers in the format `attributeid_attributevalue` (lowercase). So for an item with the `color` attribute set to `green` then identifier of your block should be `color_green`. If a block is not found then nothing is shown.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

2952d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a00bd3b8c4f6b3cd7d309befea5afb3224e1d391e58128bec3bfc259ee2e01fd?d=identicon)[lingwooc](/maintainers/lingwooc)

---

Top Contributors

[![lingwooc](https://avatars.githubusercontent.com/u/9419862?v=4)](https://github.com/lingwooc "lingwooc (15 commits)")

### Embed Badge

![Health badge](/badges/thousandmonkeys-m2-productattributeautoblock-module/health.svg)

```
[![Health](https://phpackages.com/badges/thousandmonkeys-m2-productattributeautoblock-module/health.svg)](https://phpackages.com/packages/thousandmonkeys-m2-productattributeautoblock-module)
```

PHPackages © 2026

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