Magento2: configurable products throw javascript error on click

February 03, 2017 at 08:54

The following error was thrown when clicking on a configurable product option:
Uncaught TypeError: Cannot read property 'updateData' of undefined
at $.(anonymous function).(anonymous function).updateBaseImage (
Googling this problem quickly returns a hint that the parent classes must have the column and main classes. In this case, this alone wasn't enough, the important information is, that the .column.main div must encapsule both the gallery and the text-swatch.

Hinterlasse einen Kommentar: