thelia/product-search-module

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 1

Open Issues: 0

Language:JavaScript

Type:thelia-module

1.0 2015-05-27 10:12 UTC

This package is auto-updated.

Last update: 2024-10-14 22:22:06 UTC


README

Summary

  1. Description

  2. Install

  3. Usage

  4. Description

This module provides a search pop-in for the front office based on IndexEngine module.

This is an integration example of the "products" index, provided by default with IndexEngine module.

  1. Install

You can install this module with composer:

$ php composer.phar require thelia/product-search-module:~1.0

This module requires IndexEngine module to work.

  1. Usage

Go to your backOffice and activate the module. A search button should have appeared in your front navbar.

This module provides an overlay to index engine's search for products, using its default configuration.

You can require it this way:

{javascripts file="assets/js/SearchEngine.js" source="IndexEngine"}
    <script src="{$asset_url}"></script>
{/javascripts}

{javascripts file="assets/js/productsearch.js" source="ProductSearch"}
    <script src="{$asset_url}"></script>
{/javascripts}

You can improve your search with the following constructor parameters: