Back to Website
Show / Hide Table of Contents

Interface Editor.ISurfaceUserInfo

A structure containing user data for a specific product page.

Package: @aurigma/design-editor-iframe
Examples
  // Define your user data.
  let data = {
      // This user data applies to single product pages.
      "surfaces": {
          // The content of the "Name" and "Phone" fields applied to the "surface_0" page.
          "surface_0": {
              "Name": "Christopher Bennett",
              "Phone": "18005551255"
          }
      }
  };

  // Load the web-to-print editor.
  let editor = await CustomersCanvas.IframeApi.loadEditor(iframe, product, configuration);
  ...
  // Populate the product with your user data.
  editor.loadUserInfo(data);
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