View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001070 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2009-07-04 14:45 | 2012-12-10 13:42 |
Reporter | simply because | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.3 revision 19918 | ||||
Fixed in Version | 4.1.4 revision 21266 | ||||
Summary | 0001070: Subject of email_order_owner_html.tpl can not be changed | ||||
Description | The subject of email_order_owner_html.tpl can not be changed. The subject will be filled with subject of email_order_cust_html.tpl. The layout of order number: ( #123456) in the subject of both e-mail templates can not be changed. It should be possible to remove #, (, ) | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
related to | 0001385 | closed | Subject of email_newsletteroptin |
|
@developers: Please, check also Subjects of other emails if there is no same problem |
|
Since upcomming release oxemail methods responsible for email sending will include optional parameter "$sSubject = null" (see source code documentation for method names), so you will be able to write a module for any method and define your own subject which will be used instead default. Your module method may look like: class myEmailModule extends myEmailModule_parent { public function sendOrderEmailToUser( $oOrder, $sSubject = null ) { $sSubject = 'my subject'; // in case you need data from oxshop object use $this->_getShop() return parent::sendOrderEmailToUser( $oOrder, $sSubject ); } } |
|
fixed, see previous comment |