I'm using Satchmo for the shop section of a website. I'm trying to override the default 'order_complete' email with my own, but haven't been able to so far. The docs indicate that it should be done in the same way as overriding any other template. So I've created one in my template folder at shop/email/order_complete.html, but it isn't being picked up. Anyone have any ideas?
Asked
Active
Viewed 213 times
2 Answers
0
Just a guess but, is Satchmo listed in installed_apps before your own app? (If so the order_complete template may be being matched before yours is ever reached.)
Try moving your app before Satchmo and see if that solves it.

Carlton Gibson
- 7,278
- 2
- 36
- 46
-
Thanks for the suggestion. I moved all of the Satchmo apps to the end of the INSTALLED_APPS list but it didn't make any difference. – hellsgate Feb 22 '11 at 12:15
0
If you want your template folder to take precedence over the app template folders, you have to set your 'django.template.loaders.filesystem.load_template_source',
before the app_directories
loader.

Yuji 'Tomita' Tomita
- 115,817
- 29
- 282
- 245
-
I haven't had the chance to try this out yet and probably won't be able to until tomorrow. I'll report back with the result. Thanks for taking a look. – hellsgate Feb 23 '11 at 12:01
-
The same is the default setting for both Django and Satchmo. Currently it is `...filesystem.Loader` instead of '...filesystem.load_template_source' for Django 1.2 or 1.4 – hynekcer Apr 18 '12 at 06:56