Skip to content

Refactor emailalerts and psgdpr modules#903

Merged
tblivet merged 16 commits intoPrestaShop:developfrom
tblivet:feat/mail-alert-and-config
Jan 21, 2026
Merged

Refactor emailalerts and psgdpr modules#903
tblivet merged 16 commits intoPrestaShop:developfrom
tblivet:feat/mail-alert-and-config

Conversation

@tblivet
Copy link
Contributor

@tblivet tblivet commented Jan 19, 2026

Questions Answers
Description? Refactor emailalerts and psgdpr modules
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? --
Sponsor company @PrestaShopCorp
How to test? --

@tblivet tblivet force-pushed the feat/mail-alert-and-config branch from ab81887 to 3bf1d91 Compare January 19, 2026 13:35
@tblivet tblivet marked this pull request as ready for review January 19, 2026 15:09
@tblivet tblivet requested a review from ga-devfront January 19, 2026 15:09
Comment on lines +81 to +85
id_customer: data.idCustomer,
customer_token: data.customerToken,
id_guest: data.idGuest,
guest_token: data.guestToken,
id_module: data.moduleId,
Copy link
Contributor

Choose a reason for hiding this comment

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

..data

Suggested change
id_customer: data.idCustomer,
customer_token: data.customerToken,
id_guest: data.idGuest,
guest_token: data.guestToken,
id_module: data.moduleId,
...data,

Comment on lines +22 to +27
"moduleId": "{$psgdpr_id_module|escape:'htmlall':'UTF-8'}",
"frontController": "{$psgdpr_front_controller|escape:'htmlall':'UTF-8'}",
"idCustomer": "{$psgdpr_id_customer|escape:'htmlall':'UTF-8'}",
"customerToken": "{$psgdpr_customer_token|escape:'htmlall':'UTF-8'}",
"idGuest": "{$psgdpr_id_guest|escape:'htmlall':'UTF-8'}",
"guestToken": "{$psgdpr_guest_token|escape:'htmlall':'UTF-8'}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"moduleId": "{$psgdpr_id_module|escape:'htmlall':'UTF-8'}",
"frontController": "{$psgdpr_front_controller|escape:'htmlall':'UTF-8'}",
"idCustomer": "{$psgdpr_id_customer|escape:'htmlall':'UTF-8'}",
"customerToken": "{$psgdpr_customer_token|escape:'htmlall':'UTF-8'}",
"idGuest": "{$psgdpr_id_guest|escape:'htmlall':'UTF-8'}",
"guestToken": "{$psgdpr_guest_token|escape:'htmlall':'UTF-8'}"
"id_module": "{$psgdpr_id_module|escape:'htmlall':'UTF-8'}",
"front_controller": "{$psgdpr_front_controller|escape:'htmlall':'UTF-8'}",
"id_customer": "{$psgdpr_id_customer|escape:'htmlall':'UTF-8'}",
"customer_token": "{$psgdpr_customer_token|escape:'htmlall':'UTF-8'}",
"id_guest": "{$psgdpr_id_guest|escape:'htmlall':'UTF-8'}",
"guest_token": "{$psgdpr_guest_token|escape:'htmlall':'UTF-8'}"

@github-project-automation github-project-automation bot moved this to Ready for review in PR Dashboard Jan 20, 2026
@ingridusta ingridusta self-assigned this Jan 21, 2026
Copy link

@ingridusta ingridusta left a comment

Choose a reason for hiding this comment

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

Hi @tblivet,

Your PR is tested and works as expected.

  • Not signed in and psgdpr disabled :
Capture d’écran 2026-01-21 à 14 13 09
  • Signed in and psgdpr disabled :
Capture d’écran 2026-01-21 à 14 13 49
Enregistrement.de.l.ecran.2026-01-21.a.14.14.10.mov
  • Not signed in and psgdpr enabled :
Capture d’écran 2026-01-21 à 14 16 49
  • Signed in and psgdpr enabled :
Capture d’écran 2026-01-21 à 14 20 43
  • Other impact with psgdpr enabled :
    Account creation form :
Capture d’écran 2026-01-21 à 14 17 46

Customer account area :
Capture d’écran 2026-01-21 à 14 19 49

Newsletter subscription :
Capture d’écran 2026-01-21 à 14 17 01

Product Comments :
Capture d’écran 2026-01-21 à 14 18 56

Contact form :
Capture d’écran 2026-01-21 à 14 17 27

It's QA approved ✅ !

@ps-jarvis ps-jarvis moved this from Ready for review to To be tested in PR Dashboard Jan 21, 2026
@tblivet tblivet merged commit 9732762 into PrestaShop:develop Jan 21, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from To be tested to Merged in PR Dashboard Jan 21, 2026
@ps-jarvis
Copy link

PR merged, well done!

Message to @PrestaShop/committers: do not forget to milestone it before the merge.

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

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants