12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- /**
- * FecShop file.
- *
- * @link http://www.fecshop.com/
- *
- * @copyright Copyright (c) 2016 FecShop Software LLC
- * @license http://www.fecshop.com/license/
- */
- return [
- 'catalogsearch' => [
- 'class' => '\fecshop\app\apphtml5\modules\Catalogsearch\Module',
- 'params'=> [
- //'categorysearch_filter_attr' =>[
- // 'color','size',
- //],
- // 搜索页面的title 格式 ,%s 将会被替换成搜索词
- 'search_page_title_format' => 'Search Text: %s ',
- // 搜索页面的 meta keywords格式 ,%s 将会被替换成搜索词
- 'search_page_meta_keywords_format' => 'Search Text: %s ',
- // 搜索页面的 meta description格式 ,%s 将会被替换成搜索词
- 'search_page_meta_description_format' => 'Search Text: %s ',
- // 搜索的最大个数
- 'product_search_max_count' => 1000,
- // 搜索页面是否开启面包屑导航
- 'search_breadcrumbs' => true,
- //'search_filter_category' => true,
- 'search_query' => [
- // 放到第一个的就是默认值,譬如下面的30
- 'numPerPage' => [6], // 产品显示个数的列举
- // 价格区间设置,如果不想在搜索页面价格过滤,可以清空这个。
- 'price_range' => [
- '0-10',
- '10-20',
- '20-30',
- '30-50',
- '50-100',
- '100-150',
- '150-300',
- '300-500',
- '500-1000',
- '1000-',
- ],
- ],
- ],
- ],
- ];
|