witrin / TypoGento

Integrating Magento with TYPO3.
15 stars 3 forks source link

Categories are not updated to the Back-End Plugin #27

Closed Smucks closed 11 years ago

Smucks commented 11 years ago

It seems that the Categories are not updated to the BackEnd Plugin after the first install.

I tried to add root-Categories AND Sub-Categories, but booth are not visible in the Magento Extension Plugin.

All categories are places under the default categorie.

What to do? If you could explain me how and where the Data is fetched i could take a look over it. :)

Smucks commented 11 years ago

It seems that there is a loop in which the categories are listet, and as if this loop only runs one time for each lvl.

witrin commented 11 years ago

That's absolutely right! The bug is here and should be herewith replaced:


    if (is_array($value['children'])) {
        foreach ($value['children'] as $child) {
            $walk($child);
        }
    }

The bug fix will be published soon. Thank you very much for the report!

Smucks commented 11 years ago

Work´s like a charm. :)

witrin commented 11 years ago

Glad to hear it!