Page 3 of 3

Re: Can I view only products from a single store?

Posted: Fri Oct 20, 2017 3:02 am
by kelemvor
Ah ha. Figured it out. There is an extra /div tag in this part which was throwing the table rows out of whack. Took that out and I think I'm golden.

Thanks!

Code: Select all

    <operation>
      <search position="before"><![CDATA[
		               <button type="button" id="button-filter" class="btn btn-default"><i class="fa fa-filter"></i> {{ button_filter }}</button>

		  ]]></search>
      <add><![CDATA[</div>     <--- This shouldn't be here.
		    <div class="col-sm-4">
              <div class="form-group">
                <label class="control-label" for="input-store">{{ entry_store }}</label>
                <select name="filter_store" id="input-store" class="form-control">
              <option value="*">All</option>
                  {% for store in stores %}
					{% if filter_store and filter_store == store.store_id %}
						<option value="{{ store.store_id }}" selected="selected">{{ store.name }}</option>
					{% else %}
					    <option value="{{ store.store_id }}">{{ store.name }}</option>
					{% endif %}
				  {% endfor %}
                </select>
              </div>
              </div>
		  ]]></add>
    </operation>

Re: Can I view only products from a single store?

Posted: Fri Oct 20, 2017 9:28 pm
by straightlight
Thanks. The XML has been updated accordingly.