Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed May 24, 2017
1 parent 38113b8 commit 054b3ca
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 8 deletions.
51 changes: 51 additions & 0 deletions apphtml5/config/fecshop_local_modules/CatalogSearch.php
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-',
],
],
],

],
];
14 changes: 7 additions & 7 deletions apphtml5/config/fecshop_local_modules/Cms.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
'home_meta_description_es' => 'Fashion E-Commerce Shop , Base On Yii2 Framework Es',
],
'homeFeaturedSku' => [
'men0003','men0002','men0001',
'22221',
'sk10005','sk1000-khak',
'p10001-kahaki-l','op0002-33','po0001',
'p10001-black0-xl',
//'men0003','men0002','men0001',
//'22221',
//'sk10005','sk1000-khak',
//'p10001-kahaki-l','op0002-33','po0001',
//'p10001-black0-xl',

'kilw0001','kilw-green',
//'kilw0001','kilw-green',
'32332','432432',
'sk2001-blue-zo','sk0008',

'sk0004','sk0003',
'sk0002','sk1000-black',
'sk1000-blue',
//'sk1000-blue',
],


Expand Down
Binary file added appimage/apphtml5/images/404.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"yiisoft/yii2-apidoc": "~2.0.0",
"fancyecommerce/fecshop": ">=1.1.2.9"
"fancyecommerce/fecshop": ">=1.1.3.0"

},
"require-dev": {
Expand Down

0 comments on commit 054b3ca

Please sign in to comment.