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

Merged
merged 6 commits into from
Oct 21, 2024

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 21, 2024 8:25 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:25 PM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:25 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:25 PM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:25 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment October 21, 2024 8:25 PM

Learn more about Hydrogen's GitHub integration.

Base automatically changed from hl-2024-10-sfapi to main October 21, 2024 20:15
@wizardlyhel wizardlyhel merged commit c7c9f2e into main Oct 21, 2024
13 checks passed
@wizardlyhel wizardlyhel deleted the hl-2024-10-product-option-update branch October 21, 2024 20:33
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.

3 participants