Integrate a dropdown menu in store front end

  • I make a dropdown menu (see file1 and file2 in attachements) and would like to display it at top of store front end.


    I inserted the file2 in file 3 and also inserted the file3 in file4 (see attachements).


    Currently no content is dislayed in front-end but no error is displayed.


    So, additional setup is needed. Any help?

  • Behavior is correct due

    PHP
    1. if (!empty($categories_string)) {
    2. $box_theme->assign('BOX_CONTENT', $box_content);
    3. } else {
    4. $box_theme->assign('EMPTY', true);
    5. }


    There is nothing set for

    PHP
    1. $categories_string


    so,

    Code
    1. {$EMPTY}


    in template will be

    Code
    1. true

    , see assignment above.