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.
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., (*1)
Tested and working on magento 2.1.7 & Luma (other themes can and will vary)., (*2)
Go to Stores/Configuration/thousandmonkeys/Product Attribute Auto Block
and enter a comma separated list of attribute ids (for instance color,size
)., (*3)
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., (*4)