Skip to content

Commit

Permalink
Merge pull request #51 from customgento/DEV-32-improve-docs
Browse files Browse the repository at this point in the history
Improve CPD docs, DEV-32
  • Loading branch information
norgeindian authored Jan 8, 2024
2 parents 3f19655 + 9428510 commit 0d35615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified images/child-product-data/child-product-data-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions pages/child-product-data-m2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Child Product Data for Magento 2
permalink: child-product-data-m2.html
summary: "The extension Child Product Data for Magento 2 is a powerful module for Magento, designed to enhance the user experience and provide customers with detailed information about products. With this module installed, customers can directly access the data of child products associated to a configurable product."
summary: "Child Product Data for Hyvä themes dynamically displays product data from child products, as soon as a variation is selected on a product detail page of a configurable product. This way, for example the name, SKU, description and product attributes are updated and the customer can see the data of the selected variation."
sidebar: cpd_m2_sidebar
toc: false
---
Expand All @@ -12,22 +12,22 @@ On a configurable product page, you usually only see the attribute data of the c

### Key Features:

1. **Dynamic Change of Product Data:** As soon as a customer chooses an option of a configurable product, the values of the following attributes are adapted:
1. **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
- Upsell Products
- Related Products (performantly via AJAX)
- Upsell Products (performantly via AJAX)
2. **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.
3. **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.
4. **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ä Theme.
If you're using Hyvä 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. Here, we're still waiting for a Hyvä update to make it work out of the box. Until then, please include the changes from [this Merge Request](https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/merge_requests/979/diffs){:target="_blank"} in your custom theme.
It will work directly out of the box. The only exception are the related and upsell products. Here it depends, which version of the default Hyvä Theme you're using. If you're using version 1.3.5 or higher, it also works out of the box. For older versions, please include the changes from [this Merge Request](https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/merge_requests/979/diffs){:target="_blank"} 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.
Expand Down

0 comments on commit 0d35615

Please sign in to comment.