---
title: "init(subscriptions:marketingContent:)"
framework: storekit
role: symbol
role_heading: Initializer
path: "storekit/subscriptionstoreview/init(subscriptions:marketingcontent:)"
---

# init(subscriptions:marketingContent:)

Creates a view that displays a collection of subscription options, and merchandises them with custom marketing content.

## Declaration

```swift
nonisolated init(subscriptions: some Collection<Product>, @ViewBuilder marketingContent: () -> Content)
```

## Parameters

- `subscriptions`: A collection of auto-renewable subscription doc://com.apple.storekit/documentation/StoreKit/Product instances to merchandise. The auto-renewable subscriptions need to belong to the same subscription group.
- `marketingContent`: A view that contains marketing content to display above the store controls.

## See Also

### Creating subscription store views with custom marketing content

- [init(groupID:visibleRelationships:marketingContent:)](storekit/subscriptionstoreview/init(groupid:visiblerelationships:marketingcontent:).md)
- [init(productIDs:marketingContent:)](storekit/subscriptionstoreview/init(productids:marketingcontent:).md)
