View Issue Details

IDProjectCategoryView StatusLast Update
0000709OXID eShop (all versions)1.03. Basket, checkout processpublic2012-12-10 13:24
Reportersannc Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.0.1.0 revision 15990 
Fixed in Version4.1.1 revision 18442 
Summary0000709: Customers country is not being displayed in order email
DescriptionThe 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.
TagsOrder
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-03-17 12:01

reporter   ~0000587

Duplicate of 0000630.
Please see the comments in 0000630.

sannc

2009-03-17 12:04

reporter   ~0000588

This is no dupe! The assignment of the country name to the Smarty Variable does not work!!!

Carolin

2009-03-17 12:08

reporter   ~0000589

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

d3

2009-03-24 11:29

reporter   ~0000618

The problem: The assign-method (which assigns these values) will not executed in finalizeOrder-method and other called methodes while sending the order mails.

alfonsas_cirtautas

2009-04-20 15:06

reporter   ~0000788

created getters and magic getters for oxbillcountry and oxdelcountry