View Issue Details

IDProjectCategoryView StatusLast Update
0001385OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2009-10-22 14:12
Reportersimply because Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version4.1.6 revision 22740 
Summary0001385: Subject of email_newsletteroptin
DescriptionThe subject of email_newsletteroptin always contains the shop name on last position which makes it unable to define your own subject.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

related to 0001070 resolvedarvydas_vapsva Subject of email_order_owner_html.tpl can not be changed 

Activities

dainius.bigelis

2009-10-22 14:12

reporter   ~0001959

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,