Skip to content

Add dynamic fragment hooks to Hummingbird product templates - #988

Open
Codencode wants to merge 1 commit into
PrestaShop:developfrom
Codencode:idea-41310-add-dynamic-fragment-hooks
Open

Add dynamic fragment hooks to Hummingbird product templates#988
Codencode wants to merge 1 commit into
PrestaShop:developfrom
Codencode:idea-41310-add-dynamic-fragment-hooks

Conversation

@Codencode

Copy link
Copy Markdown
Member
Questions Answers
Description? This PR adds two generic hooks around dynamic product page fragments in the Hummingbird theme:
- displayDynamicFragmentBefore
- displayDynamicFragmentAfter

The hooks are added around the product add-to-cart block and the notifications block, allowing modules to handle context-dependent markup without overriding full templates or modifying controllers.
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#41310
Sponsor company Codencode snc
How to test?

@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Apr 22, 2026
@Codencode
Codencode requested review from a team and kpodemski April 22, 2026 10:07

@tblivet tblivet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I have requested changes on this PR because I think it needs some clarification before we can move forward. I have shared my concerns in the related discussion:
PrestaShop/PrestaShop#41310 (comment)

@mattgoud
mattgoud requested review from mattgoud and removed request for mattgoud April 29, 2026 13:24
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.

4 participants