-
{siteConfig('COMMERCE_TEXT_MENU_GROUP', 'Product Categories')}
-
+ return (
+
+ {/* 分类菜单 */}
+
+
+ {siteConfig(
+ 'COMMERCE_TEXT_CENTER_CATEGORY_TITLE',
+ 'Product Categories',
+ CONFIG
+ )}
+
+
+ )
}
diff --git a/themes/commerce/components/ProductCenter.js b/themes/commerce/components/ProductCenter.js
index ba882dbd..2161a837 100644
--- a/themes/commerce/components/ProductCenter.js
+++ b/themes/commerce/components/ProductCenter.js
@@ -14,19 +14,15 @@ export default function ProductCenter(props) {
0,
parseInt(siteConfig('COMMERCE_HOME_POSTS_COUNT', 9))
)
- const COMMERCE_TEXT_CENTER_TITLE = siteConfig(
- 'COMMERCE_TEXT_CENTER_TITLE',
- 'Product Center',
- CONFIG
- )
+
return (
- {COMMERCE_TEXT_CENTER_TITLE}
+ {siteConfig('COMMERCE_TEXT_CENTER_TITLE', 'Product Center', CONFIG)}
{siteConfig('COMMERCE_TEXT_CENTER_DESCRIPTION') && (
- {siteConfig('COMMERCE_TEXT_CENTER_DESCRIPTION')}
+ {siteConfig('COMMERCE_TEXT_CENTER_DESCRIPTION', CONFIG)}
)}
diff --git a/themes/commerce/index.js b/themes/commerce/index.js
index 4ee9d726..0eec6224 100644
--- a/themes/commerce/index.js
+++ b/themes/commerce/index.js
@@ -127,11 +127,11 @@ const LayoutIndex = props => {
{/* 产品中心 */}
- {/* 首页企业/品牌介绍 */}
+ {/* 首页企业/品牌介绍 这里展示公告 */}
{notice && (
- {siteConfig('TEXT_HOME_ABOUT_US', notice.title)}
+ {notice.title}