#7 Added basic set of product orderings.

This commit is contained in:
2024-02-12 18:27:04 +00:00
parent cafaf94a00
commit 7faca50b73
3 changed files with 43 additions and 12 deletions

View File

@ -10,13 +10,13 @@
<input type="text" class="vrn-text" placeholder="YOUR REG" name="vrn">
</span>
</div>
<select class="product-filter not-required" name="filter">
<option value="relevance">Most Relevant</option>
<option value="price-lh">Price: Low -> High</option>
<option value="price-hl">Price: High -> Low</option>
</select>
{% if filters != None %}
<select class="product-filter not-required" name="filter">
{% for filter in filters.keys() %}
<option value="{{filter}}">{{filter}}</option>
{% endfor %}
</select>
{% endif %}
<input type="submit" class="search-button" value="Filter">
</form>
</div>