View Issue Details

IDProjectCategoryView StatusLast Update
0003176OXID eShop (all versions)3.1. Design, GUI, UXpublic2011-10-26 14:49
Reporterboehme 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.1 revision 38045 
Target VersionFixed in Version4.6.0_beta2 
Summary0003176: checkout: invoice adr: country select: smarty selects multiple countries
Description
Let's say Germany is saved as your country for invoices. When you are changing it to Austria AND the new values are not saved (maybe caused by an empty field), smarty will try to fill in your new values and select the new country you have choosen. Now Germany and Austria will get the "selected" flag and most browsers will show Germany as selected.
That's caused by the following if-statement, which can be found in both themes:

[{if isset( $invadr.oxuser__oxcountryid ) && $invadr.oxuser__oxcountryid == $country->oxcountry__oxid->value}]
  selected
[{elseif $oxcmp_user->oxuser__oxcountryid->value == $country->oxcountry__oxid->value}]
  selected
[{/if}]

I only searched for this in checkout, not at the other places you can choose invoice and/or delivery countries.
It is easier to test thos in basic theme, because there is no live-validation...
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.