-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: extend product variants #33
Comments
It's early stages of the project so we're still planning things out but the store will have products with lots of variables, I wouldn't say there's anything particular - storing the |
Yeah, that API is kind of all over the place. I just realized that the code was using the |
Just chiming in on how our store uses variants: We currently have products that are 1-pack or 2-pack, and customers can choose either, with different pricing and images. So being able to pull these in and read the right images, maybe add additional fields to each variants for additional frontend rendering/logic would be pretty helpful. |
Done in #44 please give it a shot! |
Just upgraded and now when I compile the Studio I get this error:
|
There's another object you need to import - - see the note about 0.7.0 at
the bottom the the Readme.
Until 1.0 is released, minor version changes might be breaking - - - but
I'll put notes in the Readme when there are things you need to do to
migrate
…On Sat, Jan 25, 2020, 10:12 PM Mathew Chan ***@***.***> wrote:
Just upgraded and now when I compile the Studio I get this error:
Unknown type: productVariant. Valid types are: shopifyImageEdge, shopifySourceImages, shopifySourceImage, saneProductOption, saneMoney, saneProductPriceRange, collectionsConnection, productVariantEdge, productVariantEdges, productVariantsConnection, shopifyProductSource, selectedOption, shopifyProductVariantSource, productsConnection, shopifyCollectionSource, linkedCollections, pageInfo, shopifyNode, edge, shopifyEdges, shopifyProduct, shopifyCollection, array, block, boolean, datetime, date, document, email, file, geopoint, image, number, object, reference, slug, string, telephone, text and url
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#33?email_source=notifications&email_token=ACX3IME6JO2N4UJIMT4DDCDQ7T5TLA5CNFSM4KHKMGE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ5KWMI#issuecomment-578464561>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACX3IMCZWOIDDKWOUV3ANVTQ7T5TLANCNFSM4KHKMGEQ>
.
|
In progress - working on adding product variants as an array of sub-fields to the Sanity documents, allowing you to extend on these variants. For instance, adding a separate descriptions or galleries of images.
The text was updated successfully, but these errors were encountered: