-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38113b8
commit 054b3ca
Showing
4 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?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-', | ||
], | ||
], | ||
], | ||
|
||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters