View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000709 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2009-03-17 11:38 | 2012-12-10 13:24 |
Reporter | sannc | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.0.1.0 revision 15990 | ||||
Fixed in Version | 4.1.1 revision 18442 | ||||
Summary | 0000709: Customers country is not being displayed in order email | ||||
Description | The Smarty variable [{ $order->oxorder__oxbillcountry->value }] seems not to be filled properly in email_order_owner_html.tpl and email_order_owner_html.tpl. Although present in the tpl file the country is not being displayed in the email. | ||||
Tags | Order | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
Duplicate of 0000630. Please see the comments in 0000630. |
|
This is no dupe! The assignment of the country name to the Smarty Variable does not work!!! |
|
It affects the following smarty variables: 1. [{ $order->oxorder__oxbillcountry->value }] 2. [{ $order->oxorder__oxdelcountry->value }] This variables are used in this templates: email_order_cust_html.tpl email_order_cust_plain.tpl email_order_owner_html.tpl email_order_owner_plain.tpl In bug 630 arvydas_vapsva explains: 2.When order is loaded as object assign method sets fields you want automatically: //get billing country name from billing country id if ( !$this->oxorder__oxbillcountry->value ) { $this->oxorder__oxbillcountry = new oxField($this->_getCountryTitle( $this->oxorder__oxbillcountryid->value ) ); } //get delivery country name from delivery country id if ( !$this->oxorder__oxdelcountry->value ) { $this->oxorder__oxdelcountry = new oxField($this->_getCountryTitle( $this->oxorder__oxdelcountryid->value ) ); } https://bugs.oxid-esales.com/view.php?id=630 But it doesn't work. Best regards, Carolin |
|
The problem: The assign-method (which assigns these values) will not executed in finalizeOrder-method and other called methodes while sending the order mails. |
|
created getters and magic getters for oxbillcountry and oxdelcountry |