add: flatten collection.handle
This commit is contained in:
1 parent
c3a6045dd8
commit
8a57541b49
1 file changed
+1
@@ -32,6 +32,7 @@ export const transformProduct = (product) => {
|
||||
|
||||
product.type_value = product.type && product.type.value
|
||||
product.collection_title = product.collection && product.collection.title
|
||||
product.collection_handle = product.collection && product.collection.handle
|
||||
product.tags_value = product.tags ? product.tags.map((t) => t.value) : []
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user