View Issue Details

IDProjectCategoryView StatusLast Update
0000630OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:45
ReporterNico_Klein Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.0.1.0 revision 15990 
Summary0000630: Delivery and billing countries are missing in confirmation email
DescriptionIn the order confirmation mail is the delivery country and the bill country not appear.

reason: the column oxbillcountry and oxdelcountry is missing in the table oxorder.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

has duplicate 0000703 closeddainius.bigelis no bill country in order mail 

Activities

arvydas_vapsva

2009-02-26 08:27

reporter   ~0000489

1. These fields were removed because country title is multilanguage information and storing it in DB does not look correct. So in DB we keep only country id.

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

thus all required information should be available.

dainius.bigelis

2009-03-14 09:33

reporter   ~0000572

Need to set Status = Resolved-No Change required, to make this entry visible for users.