Categories
Drupal Development Resources

Drupal Ubercart 7.x-3.x custom invoice templates

In Drupal 6 all you had to do was copy a couple of files into your theme folder and ubercart would automatically recognize your customer invoice template.

Drupal 7 has a more difficult process where you would actually have to define your template file using a module. Fortunately, somebody came out with a module recently that automatically registers invoice template files in your theme.

In Drupal 6 all you had to do was copy a couple of files into your theme folder and ubercart would automatically recognize your customer invoice template.

Drupal 7 has a more difficult process where you would actually have to define your template file using a module. Fortunately, somebody came out with a module recently that automatically registers invoice template files in your theme.

Ubercart Register Invoice Templates module
http://drupal.org/project/uc_register_invoice

Download and enable the module. Then proceed to the help page for instructions on how to set up your template file.

[http://yourdomain.com]/admin/help/uc_register_invoice

The nice thing about this in Drupal 7 is that you can have multiple templates rather than only being able to override the existing ones. This way you can setup different rules notifications which send different templates to whoever you want.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.