View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001385 | OXID eShop (all versions) | 1.04. Content, static (register, contact etc.) pages | public | 2009-10-12 20:05 | 2009-10-22 14:12 |
Reporter | simply because | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 4.1.6 revision 22740 | ||||
Summary | 0001385: Subject of email_newsletteroptin | ||||
Description | The subject of email_newsletteroptin always contains the shop name on last position which makes it unable to define your own subject. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
related to | 0001070 | resolved | arvydas_vapsva | Subject of email_order_owner_html.tpl can not be changed |
|
Reminder sent to: simply because Hi, This is similar case as described in the bug 0001070. Check the comment please at the bottom of this bug entry, which says: "...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 ); } } " So this is not a bug. Best regards, |