-
Notifications
You must be signed in to change notification settings - Fork 685
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
[PWA-1101] Add support for Configurable Product Image Setting #2909
Conversation
|
const temporaryTypePolicies = { | ||
StoreConfig: { | ||
fields: { | ||
// This field is available in Magento 2.4.2 we need to support older versions, so env var is used here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we support n
now, instead of n-1
, do we need to mock this? By the time this code is released in PWA Studio, 2.4.2 should be released so I think this is fine to remove.
// We disable linting for local fields because there is no way to add them to | ||
// the fetched schema. | ||
// https://github.com/apollographql/eslint-plugin-graphql/issues/99 | ||
/* eslint-disable graphql/template-strings */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment here re: re-enabling this lint rule, although you may be able to just remove @client
.
Wonderful work @eug123, Approved 👍 . |
@eug123 PR looks good. Just an observation where product image thumbnail does not update in Product Edit dialogue on cart page. |
@dpatil-magento, I've discussed this observation with @tkacheva and she is going to open separate ticket addressing this issue. |
Description
As a admin user, I would like the ability to change settings in the admin panel to control the configurable product image, and view it in my Venia storefront.
Admin Config Settings:
Stores > Configuration > Sales > Checkout > Shopping Cart > Configurable Product Image
Related Issue
Closes https://jira.corp.magento.com/browse/PWA-1101
Acceptance
Verification Stakeholders
@dpatil-magento
@sirugh
Specification
Verification Steps
Stores > Configuration > Sales > Checkout > Shopping Cart > Configurable Product Image
Screenshots / Screen Captures (if appropriate)
Checklist