show combo box displays two rows

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart Themeshow combo box displays two rows

This topic has been marked as resolved.

Within the section that shows the following:
Grid – List – Product Compare – Sort By – Show
the show combo box displays two rows, the selected one and the first option, when the page is first displayed. If any option is selected, then correctly shows only the selected option.

Please provide suggestions on how to fix this.

January 9, 2012 at 10:51 am #5036

Hi,

We will need website address and admin access so we could check.

Best,
ThemeBurn team

January 10, 2012 at 12:35 pm #5075

Hello,

Thank you for your reply.

I have not change the source code for category.tpl

If I go the OpenCart Admin Systems – Settings, Edit, Option tab, Default Items Per Page (Catalog):

I originally typed 12 as I wanted a different number from the default.

But then:

- if I type a number different from the default 25, 50, 75 or 100, it works OK.

- if I type a number same as the default 25, 50, 75 or 100, it does NOT work ok. It duplicates the selected one. The source code generated is as follows:

<div id="items_per_page" class="s_switcher">
  <span class="s_selected">25</span>
  <span class="s_selected">25</span>
  <ul class="s_options" style="display: none;">
    <li><a href="http://www.mydomain.com/store/index.php?route=product/category&amp;path=59_60&amp;limit=50">50</a></li>
    <li><a href="http://www.mydomain.com/store/index.php?route=product/category&amp;path=59_60&amp;limit=75">75</a></li>
    <li><a href="http://www.mydomain.com/store/index.php?route=product/category&amp;path=59_60&amp;limit=100">100</a></li>
  </ul>
</div>

Regards,
trulyergo

January 10, 2012 at 11:20 pm #5094
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
January 12, 2012 at 3:42 pm #5140
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.