diff --git a/src/AKSRT/Core/SetupPart1.php b/src/AKSRT/Core/SetupPart1.php index 26634b99..f721a3ec 100644 --- a/src/AKSRT/Core/SetupPart1.php +++ b/src/AKSRT/Core/SetupPart1.php @@ -407,11 +407,15 @@ trait SetupPart1 { // ── Shop widget areas (§6.9) ── $shop_widgets = [ + 'shop_home_top_fluid' => ['商城首页 · 顶部通栏', '商城首页顶部全宽区域。'], + 'shop_home_sidebar' => ['商城首页 · 侧栏', '商城首页侧栏区域。'], 'shop_product_top_fluid' => ['商品详情页 · 顶部通栏', '商品详情页顶部全宽区域。'], 'shop_product_sidebar' => ['商品详情页 · 侧栏', '商品详情页侧栏区域(PC 端)。'], 'shop_product_bottom_fluid' => ['商品详情页 · 底部通栏', '商品详情页底部全宽区域。'], 'shop_cart_top_fluid' => ['购物车页 · 顶部通栏', '购物车页顶部全宽区域。'], 'shop_cart_bottom_fluid' => ['购物车页 · 底部通栏', '购物车页底部全宽区域。'], + 'shop_order_top_fluid' => ['订单页 · 顶部通栏', '订单中心顶部全宽。'], + 'shop_order_bottom_fluid' => ['订单页 · 底部通栏', '订单中心底部全宽。'], ]; foreach ($shop_widgets as $sid => $meta) { register_sidebar([ diff --git a/templates/pages/page-cart.php b/templates/pages/page-cart.php index ae8bcb0a..d3df38b4 100644 --- a/templates/pages/page-cart.php +++ b/templates/pages/page-cart.php @@ -34,7 +34,10 @@ $address_book = is_array($cart_view['address_book'] ?? null) ? $cart_view['addre ?>
- + +
+ +
+ +
+ diff --git a/templates/pages/page-product.php b/templates/pages/page-product.php index c9d70490..5be01cea 100644 --- a/templates/pages/page-product.php +++ b/templates/pages/page-product.php @@ -38,11 +38,15 @@ $author = $author_id > 0 ? get_userdata($author_id) : null; ?>
+ +
+
-
+ +
0 ? get_userdata($author_id) : null;
+ + +
+ +
+