Skip to main content

getSelectedProductOptions

getSelectedProductOptions delegates to Shopify Hydrogen’s utility and removes Weaverse-only query parameters before returning product options.

Import

Type

Filtering

The wrapper removes:
  • isDesignMode
  • Parameters whose names start with weaverse
All other parameter names are preserved exactly as they appear in the URL.

Example

For this request:
The result is:
If the URL uses bracketed parameter names, those names remain bracketed:

Loader Usage