detail page port
This commit is contained in:
19
libs/shopify/fragments.js
Normal file
19
libs/shopify/fragments.js
Normal file
@@ -0,0 +1,19 @@
|
||||
// Misc fragments used throughout
|
||||
|
||||
import { gql } from 'graphql-request'
|
||||
|
||||
export const IMAGE_FRAGMENT = gql`
|
||||
fragment ImageFields on Image {
|
||||
url
|
||||
altText
|
||||
width
|
||||
height
|
||||
}
|
||||
`
|
||||
|
||||
export const PRICE_FRAGMENT = gql`
|
||||
fragment PriceFields on MoneyV2 {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user