1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- /**
- * FecShop file.
- *
- * @link http://www.fecshop.com/
- * @copyright Copyright (c) 2016 FecShop Software LLC
- * @license http://www.fecshop.com/license/
- */
- return [
- /**
- * Catalogsearch 模块的配置,您可以在@appfront/config/fecshop_local_modules/Catalogsearch.php
- * 中进行配置,二开,或者重写该模块(在上面路径中如果文件不存在,自行新建配置文件。)
- */
- 'catalogsearch' => [
- 'class' => '\fecshop\app\appfront\modules\Catalogsearch\Module',
- /**
- * 模块内部的params配置。
- */
- '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' => false,
- //'search_filter_category' => true,
- 'search_query' =>[
- // 放到第一个的就是默认值,譬如下面的30
- 'numPerPage' => [30, 60, 90], // 产品显示个数的列举
- // 价格区间设置,如果不想在搜索页面价格过滤,可以清空这个。
- 'price_range' => [
- '0-10',
- '10-20',
- '20-30',
- '30-50',
- '50-100',
- '100-150',
- '150-300',
- '300-500',
- '500-1000',
- '1000-',
- ],
- ],
- ],
- ],
- ];
|