thelia/product-search-module

安装: 6

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 7

分支: 1

开放问题: 0

语言:JavaScript

类型:thelia模块

1.0 2015-05-27 10:12 UTC

This package is auto-updated.

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


README

摘要

  1. 描述

  2. 安装

  3. 用法

  4. 描述

此模块基于IndexEngine模块提供前端办公室的搜索弹出。

这是IndexEngine模块默认提供的“产品”索引的集成示例。

  1. 安装

您可以使用composer安装此模块。

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

此模块需要IndexEngine模块才能运行。

  1. 用法

前往您的后端办公室并激活模块。搜索按钮应该已经出现在您的前端导航栏中。

此模块为索引引擎的搜索产品提供覆盖,使用其默认配置。

您可以通过以下方式引入它

{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}

您可以通过以下构造函数参数改进您的搜索