No content to show
User Activity
Hi @princessfiona,To implement Google Fonts in Shopify Hydrogen, ensure your Content Security Policy (CSP) includes fonts.googleapis.com and fonts.gstatic.com in fontSrc and styleSrc directives. This resolves blocked requests caused by restrictive CS...
10-17-2024
Hi there, make sure to update the Content Security Settings to allow external content to load on your site. Read more here: https://shopify.dev/docs/storefronts/headless/hydrogen/content-security-policy#step-3-customize-the-content-security-policy
Hmm, I think you can try this hook: https://github.com/Weaverse/pilot/blob/main/app/hooks/useCartFetchers.tsx
You can try to retrieve the "fetcher.data" result with "useEffect"function CartLineUpdateButton({
children,
lines,
}: {
children: React.ReactNode;
lines: CartLineUpdateInput[];
}) {
const fetcher = useFetcher({key: "cart-increment"});
...
You can try adding a "fetcherKey" to the Form and then use the "useFetcher" hook with that key to get the result of the form action.https://remix.run/docs/en/main/components/form#fetcherkeyhttps://remix.run/docs/en/main/hooks/use-fetcher#key
08-09-2024
Hi @charlietlamb,To add revỉews to your site, you will need to use an app that supports Hydrogen or provides Public API that allows you to retrieve the review data from API; for example, Judge.me, they provides a library to supports Hydrogen (https:/...
I think you need to make sure the Content Security Policy is correctly set to allow Shopify images to display: https://shopify.dev/docs/storefronts/headless/hydrogen/content-security-policy
The Hydrogen redirect theme won't take any effect there. Did you add PUBLIC_STORE_DOMAIN & PUBLIC_STORE_DOMAIN to your Hydrogen storefront environment variables?
Hi @obinecko, you can try follow this example: https://github.com/Shopify/hydrogen/tree/main/examples/gtm#1-enable-customer-privacy--cookie-consent-banner
You are returning an "array of promises" while the "defer" does not yet support nested or array promises; it only supports returning promises directly. Support for nested promise data will be added after the singleFetch feature is stable, possibly in...
Hello @asdaslkdasd, I believe the issue might be that the Storefront Environment is not set to "Published". To resolve this, please refer to this guide: https://weaverse.io/docs/deployment/oxygen#publish-your-storefront--update-weaverse-preview-url
06-04-2024
Hello @james1110, here are the answers to your questions: 1. Yes, you can use Headless + Hydrogen + Oxygen with the Shopify Basic plan. 2. You can use specific apps that support Public API or provide a React Library for manual integration with code. ...
05-22-2024
Hello @pbal, the reason is that you're using a "CJS" only module in a Hydrogen Vite project which now uses "ESM" by default, to fix that, you can refer to this video: https://www.youtube.com/watch?v=jmNuEEtwkD4My personal solution for that is using d...
You're adding mailchimp.com to the `styleSrc` directive. It will only allow loading stylesheet URLs. You might need to add it to `defaultSrc` or `scriptSrc` instead.
Hi @elicommerce2018,I wanted to share some details with you about the new Headless Shopify and how it differs from traditional Shopify.1. The "Backend" for the new Headless Shopify is essentially the same as the traditional Shopify "Backend". Howeve...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
221 | 12-13-2024 12:28 AM | |
471 | 10-17-2024 11:18 PM | |
625 | 08-09-2024 12:09 AM | |
579 | 08-08-2024 11:17 AM | |
725 | 05-22-2024 12:08 AM |