Selaa lähdekoodia

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

master
nadia 4 kuukautta sitten
vanhempi
commit
a9c00e1b32
1 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 14
    0
      src/services/ProductService.js

+ 14
- 0
src/services/ProductService.js Näytä tiedosto

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…
Peruuta
Tallenna