Skip to content

add more displayProductPriceBlock hooks in product templates#1029

Open
Markus-Gurkcity wants to merge 1 commit into
PrestaShop:developfrom
Markus-Gurkcity:hook_product_price_block
Open

add more displayProductPriceBlock hooks in product templates#1029
Markus-Gurkcity wants to merge 1 commit into
PrestaShop:developfrom
Markus-Gurkcity:hook_product_price_block

Conversation

@Markus-Gurkcity

Copy link
Copy Markdown
Questions Answers
Description? we need more displayProductPriceBlock hooks in the product templates to display legal informations
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket?
Sponsor company
How to test?

@ps-jarvis

Copy link
Copy Markdown

Hello @Markus-Gurkcity!

This is your first pull request on hummingbird repository of the PrestaShop project.

Thank you, and welcome to this Open Source community!

@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard May 29, 2026
{/if}
</div>

{hook h='displayProductPriceBlock' product=$product type="price"}

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.

What sense does it make to put two exact hooks here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The hooks differ from the parameter 'type'.

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.

Still the same question, why you cannot use the ones there, if they are on the same place?

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.

3 participants