The switch to standard tpl.php files for invoices, email receipts, etc., is great. But there is a feature that would make the template easier to use.

On the email receipt I send out there is a message at the bottom similar to the checkout messages that appear on the screen when an order is completed. But if I want to change that message I have to go into the template file to do so.

It would be helpful to have a field on the checkout messages screen to put that receipt message. If the message were represented by a token, all that would be needed in the template would be

<?php echo $receipt_checkout_message; ?>

to call the message into the template. I could then easily change the message as needed without touching the template.

Alternatively, if the various checkout messages now in use for user, new user, logged in user, etc., had tokens associated with them, an appropriate message could be called into the email receipt template.

Comments

tr’s picture

Version: 6.x-2.4 » 7.x-3.x-dev

New features should go into 7.x-3.x first.

longwave’s picture

Category: feature » support
Status: Active » Fixed

You can use http://drupal.org/project/token_custom to create custom tokens that you can then use in invoice templates.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.