Skip to content

feat(hook): Add id product attribute to hook#150

Open
Kaikina wants to merge 4 commits intoPrestaShop:devfrom
Kaikina:add-info-hook
Open

feat(hook): Add id product attribute to hook#150
Kaikina wants to merge 4 commits intoPrestaShop:devfrom
Kaikina:add-info-hook

Conversation

@Kaikina
Copy link

@Kaikina Kaikina commented May 22, 2025

Questions Answers
Description? It makes sense to add the id product attribute into the hook params.
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? NA
How to test? Register this hook, access the passed array and test that id product attribute key is set.

@ps-jarvis
Copy link

Hello @Kaikina!

This is your first pull request on ps_emailalerts 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 22, 2025
boherm
boherm previously approved these changes May 22, 2025
Copy link
Member

@boherm boherm left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! I agree with you, that could be nice to have :)

@Kaikina
Copy link
Author

Kaikina commented May 22, 2025

I updated to "id_product_attribute". I didn't see it was a static function (I don't like static functions). So no way of passing "$this". But actually, I think the only missing information while using the hook was the id_product_attribute, so I added it.

boherm
boherm previously approved these changes May 22, 2025
Hlavtox
Hlavtox previously approved these changes May 22, 2025
@Kaikina
Copy link
Author

Kaikina commented Jul 28, 2025

May we merge this branch ?

Copy link
Contributor

@kpodemski kpodemski left a comment

Choose a reason for hiding this comment

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

Wrong indentation.

@ps-jarvis ps-jarvis added the waiting for author Waiting for author label Feb 11, 2026
Copy link
Contributor

@jf-viguier jf-viguier left a comment

Choose a reason for hiding this comment

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

@Kaikina Please update PR description, it's not MailAlert instance anymore.

@Kaikina Kaikina dismissed stale reviews from Hlavtox and boherm via 6958e29 February 11, 2026 14:58
@Kaikina Kaikina changed the title feat(hook): Add instance of MailAlert to hook feat(hook): Add id product attribute to hook Feb 11, 2026
@Kaikina
Copy link
Author

Kaikina commented Feb 11, 2026

@kpodemski @jf-viguier updated.

@Touxten Touxten closed this Feb 19, 2026
@github-project-automation github-project-automation bot moved this from Ready for review to Closed in PR Dashboard Feb 19, 2026
@Touxten Touxten reopened this Feb 19, 2026
@github-project-automation github-project-automation bot moved this from Closed to Reopened in PR Dashboard Feb 19, 2026
@Touxten Touxten removed the waiting for author Waiting for author label Feb 19, 2026
jf-viguier
jf-viguier previously approved these changes Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Reopened

Development

Successfully merging this pull request may close these issues.

8 participants