---
title: sections
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/subscriptionstorecontrolstyleconfiguration/sections
---

# sections

The subscription options to merchandise by sections.

## Declaration

```swift
var sections: [SubscriptionStoreControlStyleConfiguration.Section] { get }
```

## Discussion

Discussion The sections property represents the main content of your subscription store control style, including the auto-renewable subscription products. Each SubscriptionStoreControlStyleConfiguration.Section element contains an array of SubscriptionStoreControlStyleConfiguration.Option values named options. Use this structure to modify the appearance of a control depending on the section it belongs to. The elements of sections represent SubscriptionOptionSection instances. A minimal store has one implicit section, with the sections property containing a single element. The single element’s header and footer properties are both nil, and its options property is identical to the options property on SubscriptionStoreControlStyleConfiguration. note: Typically, a style needs only one of the properties: options or sections. Use the sections property if your style supports sections. Use the initializer of the SubscriptionStoreView to determine the contents of the sections array. Display only the subscription options that appear in the sections array. Use the allOptions property to access information about all the options, for example, to compute comparisons between subscription options. The view your style creates needs to provide a control that enables the customer to subscribe to each option in the array. If you configure a subscription store view to show the current auto-renewal preference, the sections array contains the autoRenewPreference subscription product. There’s no need to specifically display the autoRenewPreference product in that case.

## See Also

### Getting subscription options to merchandise

- [options](storekit/subscriptionstorecontrolstyleconfiguration/options.md)
- [SubscriptionStoreControlStyleConfiguration.Option](storekit/subscriptionstorecontrolstyleconfiguration/option.md)
- [SubscriptionStoreControlStyleConfiguration.PickerOption](storekit/subscriptionstorecontrolstyleconfiguration/pickeroption.md)
- [SubscriptionStoreControlStyleConfiguration.Section](storekit/subscriptionstorecontrolstyleconfiguration/section.md)
- [SubscriptionStoreControlStyleConfiguration.Icon](storekit/subscriptionstorecontrolstyleconfiguration/icon.md)
