detail page port

This commit is contained in:
nicwands
2026-05-29 11:22:56 -04:00
parent b85d28c142
commit e22d75c50a
65 changed files with 7006 additions and 4044 deletions

19
libs/shopify/fragments.js Normal file
View 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
}
`