Post by rollo » Wed Oct 07, 2015 7:47 pm

I'm using opencart cms to manage my online shop. Recently I decided to add some filters to refine the search of my products. I did everything according to this tutorial: https://www.youtube.com/watch?v=y0SGA0TxX2Q

So I have added two filters: size and color. To each of the filters I added three selections: red, white, black and S, M, L. Everything seems to be working except one. In the front end of the site I can only see the name of the filters: "size", "color" and the button "refine search". However I cannot see the selections ("red", "white", "black", "S", "M", "L"). This is the image what I see in the frontend: http://postimg.org/image/7nr0p9fov/

However if I look at the source code of the site, I see that server returns the filter selections. This is how the code looks like:

Code: Select all

<div class="panel panel-default">
    <div class="panel-heading">Refine Search</div>
      <div class="list-group">
        <a class="list-group-item">Size</a>
        <div class="list-group-item">
          <div id="filter-group7">
                        <label class="checkbox">
          <input name="filter[]" type="checkbox" value="24" />
          [b]L (1)[/b]</label>
                                <label class="checkbox">
          <input name="filter[]" type="checkbox" value="23" />
         [b] M (0)[/b]</label>
                                <label class="checkbox">
          <input name="filter[]" type="checkbox" value="22" />
         [b] S (0)[/b]</label>
                      </div>
    </div>
        <a class="list-group-item">Color</a>
    <div class="list-group-item">
      <div id="filter-group6">
                        <label class="checkbox">
          <input name="filter[]" type="checkbox" value="21" />
          [b]White (3)[/b]</label>
                                <label class="checkbox">
          <input name="filter[]" type="checkbox" value="20" />
         [b] Black (3)[/b]</label>
                                <label class="checkbox">
          <input name="filter[]" type="checkbox" value="19" />
         [b] Red (2)[/b]</label>
                      </div>
    </div>
      </div>
I use the induca theme, but everything is the same with the default theme, so I assume its not a template problem.

Newbie

Posts

Joined
Wed Oct 07, 2015 7:37 pm
Who is online

Users browsing this forum: No registered users and 2 guests