ProductDownloadableOptions Container
Version: 3.0.2
The ProductDownloadableOptions container renders the downloadable link selection UI for downloadable product types. It allows customers to choose which downloadable files (links) to include in their purchase.
Configuration
Section titled “Configuration”The ProductDownloadableOptions container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
scope | string | No | Optional scope identifier used to namespace product data events, allowing multiple PDP instances on the same page. |
This container does not expose any customizable slots.
The following example demonstrates how to use the ProductDownloadableOptions container:
import { render as provider } from '@dropins/storefront-pdp/render.js';import { ProductDownloadableOptions } from '@dropins/storefront-pdp/containers/ProductDownloadableOptions.js';
await provider.render(ProductDownloadableOptions, { scope: "example",})(block);