Hi,
Am I making a mistake somewhere?
Running phoenixcart 1.0.8.20, PHP 8.1,
Copy
includes/languages/english/modules/notifications/n_update_order.php
To
templates/override/includes/languages/english/modules/notifications/n_update_order.php
The changed templates/override entries are not applied.
Changes to templates/override/includes/languages/english/modules/notifications/n_checkout.php are applied as expected.
Thank you for any help
Notification Override
-
- Lead Developer
- Posts: 2092
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 35 times
- Been thanked: 105 times
Re: Notification Override
Please note, I lost access to oscshops gmail address.
My new email is gb8231059 [at the same provider]
My new email is gb8231059 [at the same provider]
-
- PhoenixCart Developer
- Posts: 1113
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Has thanked: 36 times
- Been thanked: 96 times
Re: Notification Override
It’s an admin module and admin side does not use the override template, only shop side.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
Re: Notification Override
Thank you for your replies.
viewtopic.php?f=10&t=1770 didn’t seem to be the same problem, the answers given seemed to relate to pwa add-on notifications.
Although the update_order notification is initiated admin side which doesn’t use overrides the script is defined as a shop side module so I hoped the override would be used. Interestingly, although the languages override isn’t applied, tpl_n_update_order.php in templates/override/includes/modules/notifications/ is applied.
The solution has been to use a renamed copy the /notifications/n_update_order.php with changes applied.
viewtopic.php?f=10&t=1770 didn’t seem to be the same problem, the answers given seemed to relate to pwa add-on notifications.
Although the update_order notification is initiated admin side which doesn’t use overrides the script is defined as a shop side module so I hoped the override would be used. Interestingly, although the languages override isn’t applied, tpl_n_update_order.php in templates/override/includes/modules/notifications/ is applied.
The solution has been to use a renamed copy the /notifications/n_update_order.php with changes applied.
-
- PhoenixCart Developer
- Posts: 1113
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Has thanked: 36 times
- Been thanked: 96 times
Re: Notification Override
It's a module used from admin side. Therefore it doesn't use the override template.
The pwa hook does exact what you wish to do: it modifies the content of the core order update mail.
The pwa hook does exact what you wish to do: it modifies the content of the core order update mail.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27