diff --git a/src/main/java/com/wb/domainserver/domain/sopmal/goods/controller/GoodsController.java b/src/main/java/com/wb/domainserver/domain/sopmal/goods/controller/GoodsController.java
index 64debb74..fad4ebc2 100644
--- a/src/main/java/com/wb/domainserver/domain/sopmal/goods/controller/GoodsController.java
+++ b/src/main/java/com/wb/domainserver/domain/sopmal/goods/controller/GoodsController.java
@@ -305,6 +305,14 @@ public class GoodsController {
public String selectGoodsListForm(HttpServletRequest request,
BOGoodsVO vo,
ModelMap model) {
+ String mobileParentCtgryId = request.getParameter("mobileParentCtgryId");
+ String mobileCurrentCtgryId = request.getParameter("mobileCurrentCtgryId");
+ boolean mobileSubCategorySelected = mobileParentCtgryId != null && !mobileParentCtgryId.isBlank()
+ && mobileCurrentCtgryId != null && !mobileCurrentCtgryId.isBlank();
+ if (mobileSubCategorySelected) {
+ vo.setCtgryId(mobileParentCtgryId);
+ }
+
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
if("01".equals(user.getSysDvCd())){
vo.setSopmalCd(user.getSopmalCd());
@@ -322,7 +330,7 @@ public class GoodsController {
//검색한 카테고리 정보로 vo 세팅
if(!CollectionUtils.isEmpty(goodsCategoryList)){
vo.setUpperCtgryId(goodsCategoryList.get(0).get("baseCtgryId").toString());
- vo.setCtgryId(goodsCategoryList.get(0).get("baseCtgryId").toString());
+ vo.setCtgryId(mobileSubCategorySelected ? mobileCurrentCtgryId : goodsCategoryList.get(0).get("baseCtgryId").toString());
}else{
vo.setUpperCtgryId("0");
vo.setCtgryId("0");
diff --git a/src/main/resources/static/mobile/css/default.css b/src/main/resources/static/mobile/css/default.css
index 4a2574ed..7bd334e8 100644
--- a/src/main/resources/static/mobile/css/default.css
+++ b/src/main/resources/static/mobile/css/default.css
@@ -4269,6 +4269,9 @@ body {
.header--sub:has(.headerTab) ~ .content-wrap {
padding-top: 96px;
}
+.header--sub:has(.mobile-about-menu) ~ .content-wrap {
+ padding-top: 96px;
+}
.header--sub::before {
content: "";
position: absolute;
@@ -14751,4 +14754,4 @@ body {
margin-bottom: 20px;
padding: 14px 28px;
background-color: #ffffff;
-}/*# sourceMappingURL=default.css.map */
\ No newline at end of file
+}/*# sourceMappingURL=default.css.map */
diff --git a/src/main/webapp/WEB-INF/views/comm/mobile/Header.jsp b/src/main/webapp/WEB-INF/views/comm/mobile/Header.jsp
index e73a0831..861fa07e 100644
--- a/src/main/webapp/WEB-INF/views/comm/mobile/Header.jsp
+++ b/src/main/webapp/WEB-INF/views/comm/mobile/Header.jsp
@@ -35,10 +35,32 @@
+
+