---
title: "getAllItems Method"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.product.getallitems.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# getAllItems Method

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
### Callable
 
- getAllItems(options?:  object ) :  Promise &lt; [Item](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.item.htm.md) [] &gt;

- Lists all design elements in the product.
  
 - example
     - ```
    editor.getProduct()
        // If we have successfully obtained the product.
        .then(async function(product) {
            // Get the item list.
            const items = await product.getAllItems({includeMockup: false});
            console.log("The product contains " + items.length + " design elements");
        });
    ```

#### Parameters

    - #####  Optional options: object 
  
        Additional parameters.

        - ##### includeMockup:  boolean 
  
            Allows you to include mockup items in the resulting array. The default value is `true`.

#### Returns Promise &lt; Item [] &gt;
 
    An array of elements from all product pages.
