How Do I Fix the “this.state.designFile Is Not Iterable” Error for Packaging Mockups in Bulk Mockup?

Resolve the non-iterable Smart Object error by flattening nested Smart Objects inside your packaging PSD template.

So this error, this.state.design file is not iterable means that whenever you work with a smart object template this smart object layer is not iterable means this cannot be changed to a new smart object. This error could occur uh cause of multiple issues. In this template we will see what is the issue and try to fix it.

If we investigate this smart object layer, I double click on this smart object layer, it opens up a new tab. And if you remember, if you see, this again is a smart object layer. So we have a smart object nested inside a smart object. And perhaps this is the reason why this error was popping, that this smart object layer cannot be iterable. The way to fix this, we’ll have a smart object here.

but over here we do not want to the smart object I’ll just press RESTORIZE this and see if this helps remove the smart object layer now we have removed the smart object layer I’ll save it and then I’ll close it with CTRL W now if I open this smart object this is flattened so follow this step and I think this error will be resolved thank you

Step-by-Step Guide

The error “this.state.designFile is not iterable” happens because Bulk Mockup cannot replace the Smart Object in your packaging PSD file. In almost every case, this is caused by a nested Smart Object, a Smart Object inside another Smart Object. 

Bulk Mockup can only replace a top-level Smart Object, so we must flatten the inner one. Below is the correct, step-by-step method to fix this:

Step 1: Open the Smart Object Layer

  • Open your PSD template.
  • Locate the Smart Object layer Bulk Mockup is supposed to replace.
  • Double-click it to open the Smart Object in a new tab.

Step 2: Check Whether the Smart Object Is Nested

  • If the new tab ALSO shows a Smart Object icon instead of a flat pixel layer, your design layer is nested.
  • Nested Smart Objects cannot be iterated or replaced by Bulk Mockup.

Step 3: Rasterize the Inner Smart Object

  • Select the inner Smart Object layer.
  • Right-click and choose Rasterize Layer.
  • This converts it into a normal pixel layer, removing the extra nesting.

Step 4: Save and Close the Flattened Smart Object

  • Press Ctrl/Cmd + S to save the flattened version.
  • Press Ctrl/Cmd + W to close the tab.

Step 5: Reopen the Main Smart Object to Confirm

  • Double-click the Smart Object again from the main PSD.
  • You should now see a flat, non-Smart Object design layer.
  • This verifies that the template is now compatible.

Step 6: Run Bulk Mockup Again

  • With the nesting removed, Bulk Mockup can now iterate over your design files as expected.
  • Run the generation process again to confirm the error is resolved.

To understand how to replace a nested smart object, check this tutorial.

KEY TAKEAWAY:

The “not iterable” error occurs because of nested Smart Objects. Flattening the inner Smart Object instantly resolves the issue and makes your PSD compatible with Bulk Mockup.

FAQ

Why does Bulk Mockup say my design file is “not iterable”?

This error shows up when Bulk Mockup encounters a Smart Object layer that cannot be replaced because it contains another Smart Object inside it. Since the plugin cannot iterate through nested Smart Objects, it rejects the operation and shows this message.

How do I identify whether my Smart Object is nested?

Double-click the Smart Object layer inside your PSD. If the new tab that opens also contains a Smart Object instead of a flat design layer, it means your template uses nested Smart Objects, which Bulk Mockup cannot process automatically.

What is the correct fix for nested Smart Objects?

Simply rasterize the inner Smart Object layer so it becomes a normal pixel layer instead of another Smart Object. Saving and closing the tab will flatten it permanently, allowing Bulk Mockup to replace it without producing errors.

Will rasterizing affect the quality of my design?

Rasterizing converts the Smart Object into a fixed pixel layer. For mockup purposes, this doesn’t affect output quality, since Bulk Mockup will replace this layer entirely with your incoming design file.

Can this error occur for reasons other than nested Smart Objects?

Yes, although nesting is the most common cause. The error can also appear if the design layer is corrupted, locked, or incorrectly labeled. Fixing the nesting usually resolves the issue, but rechecking the template structure is always helpful.

Accepted payment methods
Copyright © 2024 by Bulkmockup. All rights reserved.