File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ After that you can start customizing the order process:
41
41
.. code-block :: python
42
42
43
43
def patchShop ():
44
- patchMailTemplates()
45
44
patchOrderExport()
46
45
47
46
@@ -65,19 +64,16 @@ WARNING:
65
64
HTML Templates
66
65
^^^^^^^^^^^^^^
67
66
68
- Default HTML templates are located at ``bda.plone.orders:mailtemplates ``.
69
- To customize them, copy the entire template folder to your integration package
70
- and patch `` bda.plone.orders.mailnotify.MAIL_TEMPLATES_DIRECTORY `` like so:
67
+ Default HTML templates are located at ``bda.plone.orders:mailnotifytemplates ``
68
+ and registered as `` BrowserViews ``. You can override the templates using
69
+ `` z3c.jbot ``.
71
70
72
- .. code-block :: python
73
-
74
- from bda.plone.orders import mailnotify
75
- import os
71
+ WARNING:
76
72
77
- mailnotify. MAIL_TEMPLATES_DIRECTORY = os.path.join(
78
- os.path.dirname( __file__ ),
79
- ' mailtemplates '
80
- )
73
+ As of `` bda.plone.orders `` 2.0b3 the location of the mailnotification
74
+ templates moved from the folder `` mailtemplates `` to the module
75
+ `` mailnotifytemplates ``. Please refactor your patches to jbot templates
76
+ or BrowserViews.
81
77
82
78
83
79
Text Templates
You can’t perform that action at this time.
0 commit comments