소스 검색

feat module 1,2,4 : product type display based on menu

master
nadia 4 달 전
부모
커밋
efe33427ad
1개의 변경된 파일과 3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      src/components/ProductType/ProductType.jsx

+ 3
- 3
src/components/ProductType/ProductType.jsx 파일 보기

@@ -49,9 +49,9 @@ const ProductType = ({ title, img_url, clickable = true }) => {
49 49
           sessionStorage.setItem('amber-select-product-type', productTypeValue)
50 50
           sessionStorage.removeItem('amber-select-collection')
51 51
           sessionStorage.removeItem('amber-select-collections')
52
-          if (title?.trim()?.toUpperCase() === "ESSENTIALS") {
53
-            sessionStorage.setItem('amber-select-collections', JSON.stringify(["COSMETICS", "HAND & BODY LOTION"]))
54
-          }
52
+          // if (title?.trim()?.toUpperCase() === "ESSENTIALS") {
53
+          //   sessionStorage.setItem('amber-select-collections', JSON.stringify(["COSMETICS", "HAND & BODY LOTION"]))
54
+          // }
55 55
           window.location.href = '/products'
56 56
         } : undefined}
57 57
       >

Loading…
취소
저장