collectVolumeDiscountNamespace
collectVolumeDiscountNamespace(
html,opts?):string|null
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/server/render-product-fragment.d.ts:142
The resolved app namespace for the FIRST namespace attribute, else opts.appNamespace), or null
when the widget is absent or unconfigured - so a wrapper knows whether to run
the dedicated VOLUME_DISCOUNTS query for the slot. Volume-discount data (shop
refs + collection ids) can’t ride the product-metafields batch that
collectMetafieldIdentifiers feeds, hence its own detection + query path.
Parameters
Section titled “Parameters”string
appNamespace?
Section titled “appNamespace?”string
Returns
Section titled “Returns”string | null