Download the PHP package bkubicki/module-configurable-product-attribute-handles without Composer
On this page you can find all versions of the php package bkubicki/module-configurable-product-attribute-handles. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bkubicki/module-configurable-product-attribute-handles
More information about bkubicki/module-configurable-product-attribute-handles
Files in bkubicki/module-configurable-product-attribute-handles
Package module-configurable-product-attribute-handles
Short Description Module adds to catalog frontend custom layout handles based on configurable product
License MIT
Informations about the package module-configurable-product-attribute-handles
BKubicki Configurable Product Attribute Handles
Overview
Module adds custom frontend layout handles\extension points for easier frontend customization of configurable product.
Features
- product card - handles basing on product super attributes, pattern:
catalog_product_view_type_configurable_super_{{attribute_code}}
- product card - specific templates for configurable options block. Block
vendor/magento/module-swatches/Block/Product/Renderer/Configurable.php:443
allows only two templates (one fromMagento_Swatches
and the default one fromMagento_ConfigurableProduct
), ignoring any layout instructions. By adding some data in layout, we can change template for custom one, based on product super attributes:
Such an instruction can be combined with product super attributes handles, but it doesn't have to be.
- product listing - possibility to define additional renderers for configurable super products, pattern:
configurable_super_{{attribute_code}}'
. Usage example:
Don't forget to add alias for renderer, as it is used for renderer picking.
Please see attached module to fully understand possible usage of these features.
Prerequisites
- PHP 7.3|7.4
Installation
To install the extension use the following commands:
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Changelog
See changelog here.
Authors
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of module-configurable-product-attribute-handles with dependencies
magento/module-catalog Version 103.0.*||103.0.*
magento/module-configurable-product Version 100.3.*||100.4.*