View Issue Details

IDProjectCategoryView StatusLast Update
0002809OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:28
ReporterStefan_Werner 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target Version4.5.1 revision 38045Fixed in Version4.5.1 revision 38045 
Summary0002809: Redirect to startpage after selecting an variant at details view using IE
Descriptionafter selecting an variant in details view using IE (8+9) i will be redirected to startpage
TagsProducts
Theme
BrowserInternet Explorer 9.x, Internet Explorer 8.x
PHP Versionany
Database Versionany

Relationships

has duplicate 0002785 closedbirute_meilutyte Dropdown for multidimensional variants do not work at all with IE8 / IE9 and FF4 in AZURE 

Activities

rrosendahl

2011-05-17 17:13

reporter   ~0004606

We just debugged this and found a solution for this problem. You need to change the following lines in src/gui.js (line numbers are from the 4.5.0 final release):

line 497: this is the $("ul.vardrop a").bind( "click", function() event handler:
- obj.parent('li').parent('ul').prev('input').attr( "value", obj.attr("rel") );
+ obj.parent('li').parent('ul').siblings('input:hidden').attr( "value", obj.attr("rel") );

line 551: this is the $(".oxProductForm").submit(function ()) event handler:
- if (oxVariantSelections.indexOf(hash) < 0) {
+ if ( jQuery.inArray(hash, oxVariantSelections) ) {

The prev() function doesn't seem to work as expected in line 497, but using siblings() seems to work. This results in the variant id not being written into the hidden field that is later used for the hash variable.
Line 551 crashes with a message that indexOf is not supported on that element, but the inArray function of JQuery works in that case.

arvydas_vapsva

2011-06-20 10:18

reporter   ~0004746

thnx for hint!