Add Commerce Composer objects and subfolders to a folder

We can add content pages or layouts to a folder. Using folders helps to improve the organization of your Commerce Composer objects. We cannot include objects within a folder other than the specific object type for the folder. For example, we cannot include content pages in a layout folder.


Before beginning

(Enterprise) If we are using extended sites, ensure that you understand how folders work in extended sites. See Folders in extended sites.


Procedure

  1. Open the Commerce Composer tool.

  2. In the explorer view, expand the folder hierarchy for content pages or layouts.

  3. Click the folder to add a subfolder or Commerce Composer object within. The contents of the folder displays in the main work area.Tip: We can view a list of objects or a list of folders within the folder or directory. Click the

    Show Commerce Compser Objects List or

    Show Commerce Composer Object Folders List.

  4. Use the utilities view to find the folder that we want to include as a subfolder or the Commerce Composer object to include in the folder. Drag the object or folder from the utilities view into the folder.

    • Content page or layout

      • A dialog displays. Choose an option:

          Add
          Adds a shared reference of the object to the parent folder. Any change to the object causes all shared references of the object to be changed as well.

          Copy
          Clones a new object in the selected parent folder. This new object contains the same properties of the original copy. Any changes to the copy do not affect the original object. When we select to copy a content page or layout, the object properties view opens for editing. Change the properties if necessary, and save our changes.

    • Folder

        Copy
        This folder contains the same content pages or layouts as the original. The subfolders in the original and the objects within the subfolders are not copied. Any changes to the clone do not affect the original folder. The object properties view opens for editing. Change the properties if necessary, and save our changes.

        Move
        The folder and all of its contents are moved to the new parent.

        Note: We cannot move a subfolder to make the subfolder a top-level folder. To make a subfolder a top-level folder, we must remove the entry in the parent folder table within the properties view for the subfolder.

      A folder can contain multiple subfolders, but a subfolder can have only one parent folder. We cannot have multiple subfolders with the same name in a folder.

  5. Click Save. Verify that your added content page, layout, or subfolder displays in the parent folder.


Related concepts
Commerce Composer tool
Folders


Related tasks
Organizing content pages and layouts with folders