No content to show
User Activity
Upgrading remix and oxygen dependencies and dev-dependencies in package.json actually fixed this!
Hi, I used to be able to deploy my Hydrogen website to Production by just merging to my Github's Main branch. This would trigger a Github workflow to deploy to Production environment in Oxygen. Last time I did this successfully was in March 2024. ...
12-11-2023
Was able to fix the issue which was in the Graphql mutation. For some reason the CartFragment used to work with the merchandise property in the node. Now that throws an error. Just had to remove it and make a separate query to get it. https:/...
In Shopify's hydrogen-storefront repo, specifically in cart.tsx, addLines function supposedly returns a Promise<CartQueryData>. CartQueryData I believe should contain the Cart object along with its line items, attributes, etc. result = await cart.ad...
12-09-2023
Looks like it now forces us to use these types: node_modules/@shopify/hydrogen/dist/production/index.d.ts rather than: node_modules/@shopify/hydrogen/dist/storefront-api-types.d.ts I will now need to refactor a LOT of code
Hi, this just happened about 4 hours ago. When trying to Add to Cart on my Hydrogen website, this internal error occurs. My hydrogen version is v2023.7.7. My node version is v18.17.0. Thanks in advance. Error: [h2:error:storefront.mutation] Inter...
Figured it out. It was something I did. I have a custom Shopify App (using Admin API) that regularly updates the price of the products and every time it did an update, it changed the ProductVariantID of the products which wasn't intended. I fixed ...
I just realized that the ProductVariant ID that was used by the CartLineItem in my cart was non-existent. I have no idea where this ProductVariant ID came from. When doing a query for a productByHandle, I get this ProductVariant ID : //query
{
pr...
When i query it using the Admin GraphQL API, it exists. But using the Storefront GraphQL API, it is null. This is really weird.
I am using the storefront API with hydrogen and using the cartCreate mutation. I have 20 line items that I’m passing to cartCreate and there is one line item that errors out: 'The merchandise with id gid://shopify/ProductVariant/45060060774721 does ...
I have constructed the permalink URL correctly but it will only work with my myshopify.com domain. It won't work with my custom domain. Is there any workaround for this? Thanks!
06-28-2023
Ok solved it. Just realized that the cId param I defined becomes lowercase on Oxygen. So by accessing it as params.cid instead of params.cId, it works! Lesson learned, don't camelCase your params.
Hi, I am using Hydrogen and creating my own checkout flow. On the cart page, I grab the cartId and assemble a new URL called /check-out/<cartId>/consignee. This works just fine on localhost. But when I deploy to Oxygen, the cartId becomes undefined...
06-04-2023
This question is about storefront API specifically on checkout. I have my own dynamic shipping rate calculator API which I want to use on checkout. That means I do not have any shipping rates set on Shopify Admin. Is there any mutation I can use o...
Hi, where do you configure that? I went to Domains -> Primary for Online Store and saw no option to edit these.
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
263 | 06-04-2024 04:35 AM | |
998 | 12-11-2023 03:51 AM | |
2670 | 07-23-2023 04:07 AM | |
358 | 06-28-2023 02:27 PM | |
3565 | 01-02-2022 01:19 PM |