Order number in email subject
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Order number in email subject
Duplicate n_checkout.php (module, language, and template files), turn off the old module, and turn on the new. Change the translation in the new language file to have %d in the subject where you want the order ID to appear. In n_checkout, replace MODULE_NOTIFICATIONS_CHECKOUT_TEXT_SUBJECT with
Code: Select all
sprintf(MODULE_NOTIFICATIONS_CHECKOUT_TEXT_SUBJECT, $order->get_id());