Back to Website
Show / Hide Table of Contents

Interface Editor.ISaveProductOptions

Parameters defining how the personalization data should be applied.

Package: @aurigma/design-editor-iframe
Remarks

Editor.saveProduct() takes these options.

Examples
// Saving a product to the "t-shirt.st" file.
editor.saveProduct("t-shirt");

Properties

applyDataToVariablesOnly

if false, applies personalization data to any field with the specified name; if true, the data applies only to fields marked as variable. The default value is false.

Declaration
applyDataToVariablesOnly?: boolean;
Property Value
Type Description
boolean

if false, applies personalization data to any field with the specified name; if true, the data applies only to fields marked as variable. The default value is false.

storeDataInState

if true, saves personalization data to state files. In this case, a state file will represent the initial product design without applying this data. If false, then the resulting state file will contain a set of personalized product copies but will not include the personalization data. The default value is true.

Declaration
storeDataInState?: boolean;
Property Value
Type Description
boolean

if true, saves personalization data to state files. In this case, a state file will represent the initial product design without applying this data. If false, then the resulting state file will contain a set of personalized product copies but will not include the personalization data. The default value is true.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback