Filter out Weaverse-specific query parameters from product options.
Removes isDesignMode and any parameters starting with weaverse prefix.
Delegates to Shopify Hydrogen 2026.10’s getSelectedProductOptions. The
Next.js adapter has no equivalent; a Next.js storefront reads product
options from its own route search params. All other
parameter names are kept exactly as they appear in the URL, so
?option[Color]=Blue yields { name: 'option[Color]', value: 'Blue' }.
Parameters
The incoming HTTP request
Returns
SelectedOption[]
Filtered product options for Shopify Hydrogen