bigcommerce / catalyst

Catalyst - for Composable Commerce
https://catalyst-demo.site
MIT License
90 stars 59 forks source link

fix: pre selected options on PDP page #1051

Closed deini closed 1 month ago

deini commented 2 months ago

What/Why?

First pass on default options selection fix. This PR applies the default options overlay for the query done in the PDP page. When no product options are selected on page load (no query params) the overlay is applied.

Testing

  1. Set default product options on a product
  2. Navigate to the product's PDP page
  3. Product options should be selected and the correct image / sku are displayed.
vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 6:28pm
5 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **catalyst-1millionproducts-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-1millionproducts-store/32t1FmworV2De9mXQ5fWhVYvYNfE)) | | | Jul 1, 2024 6:28pm | | **catalyst-au** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-au/3HyCmiYYiGsmX33CrShNE9zd7kPJ)) | | | Jul 1, 2024 6:28pm | | **catalyst-test-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-test-store/C9zN8D3NEm3Hw9EM4MNHBB7CCXCe)) | | | Jul 1, 2024 6:28pm | | **catalyst-uk** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-uk/55y8GXgSHFXqGZeb5a47RUg9XkQH)) | | | Jul 1, 2024 6:28pm | | **catalyst-unstable** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-unstable/EwG5Yzdi6nk6BzyuwdJ6vQyE3mBt)) | | | Jul 1, 2024 6:28pm |
changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: fdfb99530358807736a8237000aae1697c9896e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR