View Issue Details

IDProjectCategoryView StatusLast Update
0001070OXID eShop (all versions)4. ------ eShop Core -------public2012-12-10 13:42
Reportersimply because Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.3 revision 19918 
Fixed in Version4.1.4 revision 21266 
Summary0001070: Subject of email_order_owner_html.tpl can not be changed
DescriptionThe 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 #, (, )
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

related to 0001385 closed Subject of email_newsletteroptin 

Activities

dainius.bigelis

2009-07-15 15:01

reporter   ~0001215

@developers: Please, check also Subjects of other emails if there is no same problem

arvydas_vapsva

2009-07-21 10:27

reporter   ~0001251

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 );
    }
}

arvydas_vapsva

2009-07-21 10:29

reporter   ~0001252

fixed, see previous comment