Description
On a configurable product page, you usually only see the attribute data of the configurable product itself. This extension allows you to display the data of the child products on this page and the values are dynamically changed as soon as you choose a different child product. This way, customers can easily compare the data of the child products and make a well-informed decision.
Key Features:
- Dynamic Change of Product Data: As soon as a customer chooses an option of a configurable product, the values of the following attributes are changed quick and easy:
- Product Name
- SKU
- Short Description
- Description
- “More Information” Block
- Related Products (performantly via AJAX)
- Upsell Products (performantly via AJAX)
- Seamless Hyvä Compatibility: The extension is fully compatible with the Hyvä theme, ensuring a smooth integration and an aesthetically pleasing presentation. Your online store can now leverage the power of Hyvä’s modern design and user-friendly interface while providing enhanced product information.
- Universal Hyvä Theme Support: The extension is not only compatible with the default Hyvä theme. It works also with any Hyvä child theme. You only need to enter the fitting identifiers in the system configuration, and the module will do the rest.
- Universal Luma Theme Support: The extension is not only compatible with the default Luma theme. It works also with any Luma child theme. You only need to enter the fitting identifiers in the system configuration, and the module will do the rest.
- Developer-Friendly Architecture: For developers, Child Product Data offers an easily integrable solution with well-documented code. It follows the Magento 2 coding standards and best practices.
Usage Instructions
Child Product Data is by default built for a clean Hyvä or Luma Theme.
If you’re using such a theme or a child theme without any adaptions to the product page, you do not need to configure anything at all.
It will work directly out of the box. The only exception are the related and upsell products for Hyvä versions 1.3.4 and below.
In case you’re using such a version, please include the changes from this Merge Request in your custom theme.
As soon as you have a different HTML structure on your product page, you simply need to fill in the fitting identifiers under Store > Config > Catalog > Catalog > Child Product Data.
Please mind, that a specific attribute could be included at several spots on the page. For example the name of the product is also included in the breadcrumbs. In this case, please enter each identifier in a new line.
To find out which identifiers you need to use, you can simply inspect the HTML of your product page and look for the fitting elements.
After entering the correct identifiers, please save the configuration and clear the cache. From now on, as soon as you choose a child product, the module will show the child data for the identifiers you configured, for example the adapted product name or the SKU. If you do not want to change the data for a specific attribute, you can simply leave the field empty.
Requirements
- magento/framework:
~102.0||~103.0
- magento/module-catalog:
~103.0||~104.0
- magento/module-configurable-product:
~100.4
- magento/module-eav:
~102.0
- magento/module-store:
~101.0
- php:
~7.4.0||~8.1.0||~8.2.0||~8.3.0
Compatibility
- Hyvä Theme >=
1.0.0
- Magento >=
2.4
Installation Instructions
The installation procedure highly depends on your setup. In any case, you should use a version control system like git and test the installation on a development system. If you are using composer (you should!) and downloaded the extension from the Marketplace or have set up your own composer repository, we recommend installing via composer.
Composer Installation
composer require customgento/module-child-product-data
bin/magento module:enable CustomGento_ChildProductData
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
Manual Installation
- unzip the downloaded files
- create the directory
app/code/CustomGento/ChildProductData/
:mkdir -p app/code/CustomGento/ChildProductData/
- copy the unzipped files to the newly created directory
app/code/CustomGento/ChildProductData/
bin/magento module:enable CustomGento_ChildProductData
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
Troubleshooting - I installed the extension, but it does not work
- Do you use the latest version of the extension?
- Do you use Magento >= 2.4?
Uninstallation
The uninstallation procedure depends on your setup:
Uninstallation After Composer Installation
bin/magento module:uninstall CustomGento_ChildProductData
bin/magento setup:di:compile
bin/magento cache:flush
Uninstallation After Manual Installation
bin/magento module:disable CustomGento_ChildProductData
bin/magento setup:di:compile
bin/magento cache:flush
rm -r app/code/CustomGento/ChildProductData
Support
If you have any issues with this extension, feel free to contact us!
Licence
CustomGento Commercial Software Licence
Copyright
© 2023 - present CustomGento GmbH