Skip to content
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

Deprecate options.values and use options.optionValues instead #2585

Open
wants to merge 2 commits into
base: hl-2024-10-sfapi
Choose a base branch
from

Conversation

wizardlyhel
Copy link
Contributor

WHY are these changes introduced?

product.options.values is being deprecated in favour of product.options.optionValues.

WHAT is this pull request doing?

  • Convert all usages of product.options.values to use product.options.optionValues instead
  • Log deprecation warning for VariantSelector if product.options.values is continuing being used after upgrade

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

This comment has been minimized.

Copy link
Contributor

shopify bot commented Oct 3, 2024

Oxygen deployed a preview of your hl-2024-10-product-option-update branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
sitemap ✅ Successful (Logs) Preview deployment Inspect deployment October 3, 2024 8:55 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment October 3, 2024 8:56 PM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment October 3, 2024 8:56 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment October 3, 2024 8:55 PM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment October 3, 2024 8:55 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment October 3, 2024 8:55 PM

Learn more about Hydrogen's GitHub integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants