Initial commit

This commit is contained in:
Rami Bitar
2026-08-08 14:21:24 -04:00
commit 58742d5d00
127 changed files with 18859 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
import { gql } from '@shopify/hydrogen';
// Shop policies are exposed on the `shop` object of the Storefront API.
// There is no lookup-by-handle field, so we fetch all of them and match.
export const GET_SHOP_POLICIES_QUERY = gql(`
query GetShopPolicies {
shop {
privacyPolicy {
id
title
handle
body
url
}
termsOfService {
id
title
handle
body
url
}
refundPolicy {
id
title
handle
body
url
}
shippingPolicy {
id
title
handle
body
url
}
subscriptionPolicy {
id
title
handle
body
url
}
}
}
`);