Skip to content

Refresh product descriptions on combination change - #245

Open
LameuleFR wants to merge 1 commit into
PrestaShop:developfrom
LameuleFR:feat/combination-seo-fields
Open

LameuleFR wants to merge 1 commit into
PrestaShop:developfrom
LameuleFR:feat/combination-seo-fields

Conversation

@LameuleFR

Copy link
Copy Markdown
Questions Answers
Description? Adds the js-product-description and js-product-description-short classes to the product description and summary containers (product page and quick view). The core product refresh uses them to display the combination description and summary when the customer switches combination (feature flag combination_seo, PrestaShop/PrestaShop#43132). Without the flag, nothing changes.
The description container is only rendered when the product has a description, so a combination description is not displayed after a switch when the product itself has none.
Type? new feature
BC breaks? no
Deprecations? no
Fixed ticket? Related to PrestaShop/PrestaShop#43132
Sponsor company
How to test? 1. With PrestaShop/PrestaShop#43132, enable the combination_seo feature flag.
2. Fill a description and a summary on one combination of a product that has a description.
3. On the product page, switch between this combination and another one: the description and summary follow the selected combination.

Expose the description and summary containers to the core product refresh, so the combination overrides of the combination_seo feature are displayed when the customer switches combination.
@ps-jarvis

Copy link
Copy Markdown

Hello @LameuleFR!

This is your first pull request on classic-theme repository of the PrestaShop project.

Thank you, and welcome to this Open Source community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

2 participants