brotherton-erpnext/erpnext/templates/pages/product_search.html
Faris Ansari 5f8b358fd4
Website: Product Configurator and Bootstrap 4 ()
- Refactored Homepage with customisable Hero Section
- New Homepage Section to add content on Homepage as cards or using Custom HTML
- Products page at "/all-products" with customisable filters
- Item Configure dialog to find an Item Variant filtered by attribute values
- Contact Us dialog on Item page
- Customisable Item page content using the Website Content field
2019-03-19 11:48:32 +05:30

33 lines
905 B
HTML

{% extends "templates/web.html" %}
{% block title %} {{ _("Product Search") }} {% endblock %}
{% block header %}<h2>{{ _("Product Search") }}</h2>{% endblock %}
{% block page_content %}
<script>{% include "templates/includes/product_list.js" %}</script>
<script>
frappe.ready(function() {
var txt = frappe.utils.get_url_arg("search");
$(".search-results").html('{{ _("Search results for") + ": " + html2text(frappe.form_dict.search or "") | e | trim }}');
window.search = txt;
window.start = 0;
window.get_product_list();
});
</script>
<div class="product-search-content">
<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 btn-light">{{ _("More...") }}</button>
</div>
</div>
</div>
{% endblock %}