---
title: "Interface: IApplyProductThemeOptions | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.IApplyProductThemeOptions/"
---

# Interface: IApplyProductThemeOptions

> A structure defining options for managing history when changing a product theme.

## Remarks

[Editor.applyProductTheme](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/classes/Editor.Editor.md#applyproducttheme) uses this structure.

## Example

``` js
options: {
    addToHistory: false
}
```

## Properties

### addToHistory?

> `optional` **addToHistory?**: `boolean`

If `true`, adds a new user action to the history to allow your users to revert the applied theme using the **Undo** button. The default value is `true`.
