소스 검색

feat module 1,2,4 : add new collection and metafields menu group in product query

master
nadia 2 달 전
부모
커밋
a9c00e1b32
1개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. 14
    0
      src/services/ProductService.js

+ 14
- 0
src/services/ProductService.js 파일 보기

53
           collections(first: 10) {
53
           collections(first: 10) {
54
             nodes {
54
             nodes {
55
               title
55
               title
56
+              handle
56
               image {
57
               image {
57
                 url
58
                 url
58
               }
59
               }
59
               updatedAt
60
               updatedAt
61
+              metafield(namespace: "custom", key: "menu_group") {
62
+                namespace
63
+                key
64
+                type
65
+                value
66
+              }
60
             }
67
             }
61
           }
68
           }
62
           variants(first: 200) {
69
           variants(first: 200) {
139
       collections(first: 10) {
146
       collections(first: 10) {
140
         nodes {
147
         nodes {
141
           title
148
           title
149
+          handle
142
           image {
150
           image {
143
             url
151
             url
144
           }
152
           }
153
+          metafield(namespace: "custom", key: "menu_group") {
154
+            namespace
155
+            key
156
+            type
157
+            value
158
+          }
145
         }
159
         }
146
       }
160
       }
147
       variants(first: 200) {
161
       variants(first: 200) {

Loading…
취소
저장