{% extends "app/website/templates/html/page.html" %}

{% set title="Product Search" %}

{% block javascript %}
{% include "app/website/templates/js/product_list.js" %}
{% endblock %}

{% block content %}
<script>
$(document).ready(function() {
	var txt = get_url_arg("q");
	$(".search-results").html("Search results for: " + txt);
	window.search = txt;
	window.start = 0;
	window.get_product_list();
});
</script>

{% include 'app/website/templates/html/product_search_box.html' %}
<div class="col-md-12">
	<h3 class="search-results">Search Results</h3>
	<div id="search-list" class="row">
		
	</div>
	<div style="text-align: center;">
		<div class="more-btn" 
			style="display: none; text-align: center;">
			<button class="btn">More...</button>
		</div>
	</div>
</div>
{% endblock %}