collectCustomerPricingNamespace
collectCustomerPricingNamespace(
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:154
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 CUSTOMER_PRICING query for the slot. Customer-pricing data
(shop refs + collection ids) can’t ride the product-metafields batch that
collectMetafieldIdentifiers feeds, hence its own detection + query path
(exactly the volume-discount arrangement).
Parameters
Section titled “Parameters”string
appNamespace?
Section titled “appNamespace?”string
Returns
Section titled “Returns”string | null