Skip to content

Preview with real products

Data Preview shows the design filled with the data of a real product from one of your projects. Use it to check that every layer shows the right value, and that your conditions react to the data as you expect. Nothing here changes your feed or your projects.

Data Preview of Bottom Band – Classic for product NW-2435, with the Data Responsive Layers on the left and the Product ID and Used Fields on the right

To open it, click Data Preview in the header of the editor.

A toolbar at the bottom of the screen has the project and the product.

  1. Click the project button. It opens the list of your team’s projects, with a search box.
  2. Choose a project. The preview takes its products from there.
  3. Click Random ID for a random product of the project.
  4. Or type a product ID in the field Product ID and click Preview (or press Enter).

The editor opens on the first project that uses the design. If no project uses it, it opens on the project you chose last in this team, or else on the most recently updated one that has products. A project that has no products yet is flagged, and a project whose last update failed cannot be previewed. If the list is empty, it says No projects; if the search finds nothing, it says No project found. If the ID does not exist in the project, a message under the toolbar says so.

The caption above the design shows its size and the product ID. Before you choose a product, it says the design uses placeholder data.

While a new preview builds, the previous one stays on the screen, blurred.

The left panel lists the Data Responsive Layers: the layers that are mapped to a product field or have conditions. Each row shows the same icons as the Layers panel (hidden, linked, conditions). The icon in the header of the panel folds the list into one dropdown of the same layers.

Click a layer to see, under Output, what it receives from this product:

  • The mapped value: the raw value from your feed, or Empty when the product has none. For an image, a thumbnail and its URL.
  • For a price, the Price Formatting of the layer.
  • Each condition of the layer as a sentence, with a green Condition met or a red Condition not met badge.
  • The result for the layer: whether it is visible (a hidden layer says Layer is hidden), and its text, image, font and colours.

The Output of the oldPrice layer for product NW-2400: the condition is met and the layer is hidden

The right panel shows the product: its Product ID, the main image, the Used Fields (the fields your layers use) and Others. A field without a value is marked Empty. Fields are shown by their ids, for example sale_price. Click a text value to copy it.

The preview is the place to check a condition before you publish. A condition is set in the Conditional Properties section of a layer (see Data Settings). Check it in two ways: find a product where the condition flips, or change the data of the product you have.

In “Bottom Band – Classic”, the layers oldPrice and discountBox each have one condition: if the item is not discounted, hide the layer. Test it on two products.

  1. Preview product NW-2421, “Stridon Court Runner Sneakers”. It costs $149.00 and is on sale for $119.00.
  2. Click oldPrice in the Data Responsive Layers. Under Output the condition is Condition not met, because the item is discounted. The old price shows on the design.
  3. Type NW-2400, “Calyne Ambre Eau de Parfum 50 ml”, and click Preview. It costs $58.00 and has no sale price.
  4. Click oldPrice again. The condition is now Condition met, and Output says Layer is hidden. The old price and the discount badge are gone from the design.

The same works for a rule that changes a colour. Say the blue band frame of “Bottom Band – Classic” has the rule brand text equal Kestro with the action Change Fill Color (see Change a layer with rules). Preview NW-2435, “Kestro Pulse Bluetooth Speaker”: the band turns green, and click band in the Data Responsive Layers list and Output shows the rule as Condition met. Preview NW-2421, “Stridon Court Runner Sneakers”: the band stays blue and the rule is Condition not met.

If you cannot find a product that triggers a condition, use the next method.

To see the design with other values, edit the product in the preview.

  1. Click the edit button (Edit Data) next to the product ID.
  2. In the window Edit Product Data, change a value. The X button of a field empties it. Clear All empties every field you can edit.
  3. Click Generate Preview, or press Enter in a field.

The Edit Product Data window for NW-2421, with the price and sale price fields and the calculated fields locked

What to know about the window:

  • It lists only the fields your layers use, in a mapping or in a condition. If a layer uses discount, discount_percentage or old_price, price is added. If a layer uses discount, discount_percentage, is_discount or current_price, sale_price is added.
  • Calculated fields (discount, discount_percentage, current_price, old_price, is_discount) are locked with the note Field calculated automatically. Cropink recomputes them from price and sale_price.
  • Under a field you see its price formatting and the conditions that use it.

For example, on NW-2421 empty sale_price and generate the preview. The item is no longer discounted, so the condition hides the old price and the discount badge. The right panel now shows Custom Data instead of the product ID.

This changes only the preview. The product in your data source and your projects stay as they are. To see the product’s own data again, type its ID and click Preview.

The preview shows the data of the product on your design: text, images, and the conditions that show or hide a layer or change its fill or border colour. Check these here.

Some results show only in the images Cropink generates for your feed:

  • Auto Text Fitting, which shrinks a text to fit its box, does not show in Data Preview.
  • Conditions that change a font, a font size, a text, an image placeholder or the mapped field show in Output and in the generated images, not on the preview.

The Local Styles values of the design apply here too. See Local styles and team styles.

  1. Click the Facebook Layout Preview icon in the toolbar. The design is drawn in a Facebook-style carousel post, at 298 px. The Data Responsive Layers and the product panel are hidden in this layout.
  2. Click the Default Preview icon to go back and see them again.
  3. Hover over the design, or focus it with the keyboard, and click Download.

The download is a PNG at the size of the design, named after the design. The button is disabled while the preview builds. If saving fails, a message says Failed to download the design. Please try again. This is the only place in the editor where you can save the design as an image.

  • A design without any mapped layer or condition cannot be previewed. The tab says Preview is unavailable and Map a product data or set conditional properties first Click Back to Design to go back to the properties.
  • If the project of the preview was removed, the toolbar says The project of this preview is not available. Select another one.
  • If the design settings fail to load, the tab says Preview is unavailable - failed to load design settings.