tasfe / silverstripe-ecommerce

Automatically exported from code.google.com/p/silverstripe-ecommerce
0 stars 0 forks source link

Patch to allow themed templates to be used for ECommerce emails #473

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ecommerce emails can be sent from within the CMS, where the current theme has 
been cleared. This means that any ecommerce email templates that are stored at 
the appropriate place inside the themes directory are ignored. The template 
inside mysite or the ecommerce module ends up being used instead.

The attached patch enables ecommerce emails to use templates from the current 
theme folder. 

NOTE: This patch was made against Order.php from the 0.9 branch. If you have 
trouble with newer versions, look for the sendEmail() function.

Original issue reported on code.google.com by hjr29s...@gmail.com on 28 Sep 2012 at 3:45

Attachments:

GoogleCodeExporter commented 9 years ago
GREAT - THANK YOU!!!

Original comment by nfranc...@gmail.com on 30 Oct 2012 at 6:57