Using the WooCommerce Live Preview add-on
The Live Preview for WooCommerce Product Options add-on allows customers to preview how their personalization will look on the finished product. As they fill in the options, their images, text, colors and choices appear directly on the product images.
To provide live previews, you must:
- Have both WooCommerce Product Options and the Live Preview add-on installed.
- Enable live preview on the options that you want to preview. You can use it with file upload, text, paragraph, image buttons, radio buttons, checkboxes, dropdown and color swatch options.
- (Optional) Set one or more printable areas on your product or variation images.
You can find full instructions below.

Installing WooCommerce Live Preview
The Live Preview add-on will be installed automatically when you have an active license for WooCommerce Product Options which includes Live Preview. This will either happen when you first activate WooCommerce Product Options, or if you upgrade to the Live Preview bundle later then a Dashboard notice will appear prompting you to click a button to install the add-on.
Adding options with live preview
- Go to Products → Product Options and add or edit an option group as usual.
- Click Add option and choose one of the option types which support live preview (see below).
- Add a label which will appear above the field, and choose whether or not customers will be charged an extra fee.
- Optionally add a description which will appear under the field. For example, this might contain guidance on recommended image sizes or formats.
- Tick Enable live preview. This is enabled automatically for file upload fields.
- Optionally change the Preview button text. This button appears next to the option once the customer has filled it in, so that they can open the preview and make further changes.
- Set the field to Required to prevent customers from adding the product to the cart without filling it in.

What each option type shows in the preview
- File upload - The images uploaded by the customer are added to the product image. We recommend allowing image file types only (for example JPG and PNG) in the field's advanced settings, because the preview can only show images. You can also set the maximum file size and the maximum number of files.
- Text and paragraph - The text entered by the customer is added to the product image. Customers can choose the font and color of the text in the preview window, unless you disable this in the printable area (see below).
- Image buttons, radio buttons, checkboxes and dropdown - When a choice has an image, the image of the selected choice is added to the product image. For example, customers can choose a badge, an emblem or a pattern and see it on the product. Choices without an image don't add anything to the preview. You can preview choice images even if you don't display them on the product page.
- Color swatches - Under Use the chosen color to, choose what the selected color does:
- Fill a printable area - The printable area is filled with the chosen color. For example, the customer can choose the color of a panel or a stripe.
- Change the color of a linked option - The chosen color is applied to the content of another option, which you select under Linked option. For example, the customer can choose the color of a logo they selected in an image buttons option. Under Blending method, choose Recolor for line art, logos and other vector graphics where the fill is a single flat color, or Tint for photographs and other raster images, as it preserves shadows, highlights and texture.
Setting printable areas
By default, customers can add their personalization to any part of the product image. A printable area defines the section(s) of the product image where the customer's personalization can appear. For example, you might add a square section to the chest of a t-shirt.
- Go to the Media section of the WordPress Dashboard and make sure you are seeing the library in grid view.
- Click on one of the images that you want to use the live preview on and click the Set printable areas button. You can also open the editor with the Edit printable areas button on the image's edit page.
- Add one or more printable areas to the image:
- Choose a shape - Use the buttons in the toolbar to add a rectangular, circular or freeform printable area. To draw a freeform area, click on the image where you want to start, keep clicking to add all the corners of the shape, and then click on the first point to close it.
- Size and position the printable area - Drag the area to move it, and drag its handles to resize it. To set an exact position, size and rotation, use the fields in the Area Details panel.
- Manage multiple areas - Each printable area has its own color so you can tell them apart. Select an area from the Select a printable area dropdown, change the order of overlapping areas with the layer buttons, and use undo/redo and copy/paste to speed things up. While you draw an area or drag its handles, a zoom lens magnifies the image around the cursor so you can place each corner precisely.
- Choose the options for each printable area:
- Allow only one image per area - Prevent customers from adding more than one image to the same printable area.
- Disable moving - Prevent customers from dragging their image or text to change its position.
- Disable resizing - Prevent customers from resizing their image or text.
- Disable rotating - Prevent customers from rotating their image or text.
- Warp image - For freeform areas with 4 corners, bend the customer's image to fit the shape of the area. This is useful when the printable area is shown in perspective, for example on a product photographed at an angle. For more details, see Warping uploaded images to fit an angled printable area.
- Disable font selection - Prevent customers from changing the font of the text they have entered.
- Disable color selection - Prevent customers from changing the color of the text they have entered.
- Linked Option - By default, a printable area accepts all the options with live preview enabled. If you want it to show specific options only, select them here. For example, if you're creating a t-shirt product with different options for the front and back, select the front options in the printable area of the front image, and the back options in the printable area of the back image. Link each option to one printable area only. If you link the same option to two areas, its choice images don't appear on the product page and your customer sees no error message.
- Choose the settings for the whole image:
- Use as top layer - Show the product image on top of the customer's personalization instead of behind it. Use this with PNG images that have transparent areas, for example a frame or a phone case, so that the personalization shows through the transparent parts only.
- Use for variation images - Use the printable areas of this image for the variation images of the same product (see below).
- Click Apply to save the printable areas.

How to allow customers to choose a font
By default, customers can choose from a selection of fonts within the preview window for text and paragraph fields. These fonts come from your WordPress theme.
You can prevent customers from choosing a font by ticking Disable font selection in the printable area (see above).
To provide a wider choice of fonts, you can enter a Google Fonts API key in the plugin settings at Products → Product Options → Settings, and optionally choose which Google fonts are available to your customers.
How to add printable areas to multiple images
Many stores need to use the same printable areas on multiple images - for example, if all their t-shirt products have images which are the same size and shape, or for a product that has a different image for each color variation. There are several ways to do this:
- Variable products - Enable Use for variation images when you set the printable areas on one of the variation images. The same areas are then used for the images of the other variations. If your variations have image galleries, see Using Live Preview with variation image galleries.
- Copy and paste - In the Media Library, click on the image which already has printable areas and click Copy areas. Then click on another image and click Paste areas.
- Paste onto many images at once - In the Media Library, click Bulk select, select the images (including the one which already has printable areas) and click Paste printable areas. Choose which image's printable areas to copy to the other selected images. You can remove the printable areas from several images at once in the same way with Remove printable areas.
To find your images quickly, use the dropdown at the top of the Media Library to show only the images with or without printable areas. Images with printable areas are also marked with an icon.
Global settings
When Live Preview is installed, the WooCommerce Product Options settings page (Products → Product Options → Settings) contains several options for customizing the live preview:
- Customize button text - Use this to change the text of the button which opens the preview window on product pages, for example to "Configure" or "Edit Mockup". You can also change the text for each individual option on the Add/Edit Option Group page.
- Preview label - The label for the previews on the cart and checkout pages. Customers can view the preview there but not edit it, so we recommend using wording such as "View Preview" rather than "Customize".
- Default swatch blending method - The blending method used by color swatch options which change the color of a linked option, unless the option sets its own: Recolor for line art and vector graphics, or Tint for photos and other raster images.
- Google Fonts API key - To add a wider range of font choices for text and paragraph options, enter a Google Fonts API key here. Google has provided instructions on how to generate an API key.
- Allowed Google fonts - Select the Google fonts available to your customers, or leave it blank to use all Google fonts.
How customers use the live preview
- As soon as the customer fills in an option with live preview enabled, their personalization appears on the product image on the product page.
- If it's clear where each option should appear (each option is linked to its own printable area, or the image has a single printable area), the preview is created straight away on the product page.
- Otherwise, the preview window opens so the customer can place their personalization. They can drag each option from the list onto the printable area where they want it, then move, resize and rotate it, and change the font and color of text.
- Changes made in the preview window are saved when the customer clicks Apply. Clicking Cancel discards them.
- Customers can open the preview window again at any time with the customize button next to each option. The button is not shown when there is nothing for the customer to adjust, for example when all the printable areas have moving, resizing and rotating disabled.
FAQ
Can customers add multiple images or text to 1 product image?
Yes - you can add as many printable areas to a product image as you like. For example, an image of the front of a t-shirt might have both the front and sleeves visible. In this case, you could add one printable area to the front of the t-shirt, and 2 additional printable areas to the sleeves.
Customers can then add their images and text to each printable area. If you link each option to a specific printable area, their personalization is placed automatically. Otherwise, they can drag each option to the printable area where they want it.
Can I provide multiple previews for the same product (e.g. a t-shirt front and back)?
Yes, there are two ways to do this:
- Option 1 - Provide multiple images per product, each with their own preview (e.g. one image for the t-shirt front and a different image for the t-shirt back).
- Option 2 - Provide a single image with multiple printable areas (e.g. one image which shows the front and back of a t-shirt side-by-side).
Option 1 - Provide multiple images per product, each with their own preview

The following instructions use the example of a custom printed mug which has a separate image for the front and back.
- Add the options for the mug front and for the mug back to the same option group, for example two file upload fields.
- Make sure that the product image gallery contains images of the front and back of the mug.
- Find the images in the Media Library, click the Set printable areas button, and set printable areas for both the front and back of the mug. For each one, select the appropriate option under Linked Option so that the live preview knows which option belongs to each product image.
When the customer fills in the option for the back of the mug, the product gallery slides to the back image so they can see their personalization straight away. In the cart and checkout, there is a separate preview for the front and the back.
Tip: To keep your product page looking clean and tidy, you can use conditional logic to hide the mug back option when the page first loads. For example, you could add a checkbox saying "I'd like to personalize the back too" (as shown in the screenshot above) which customers can tick to reveal the back options.
Option 2 - Provide a single image with multiple printable areas

If you prefer, you can add multiple printable areas to a single image. You can either allow customers to add multiple images or text and choose which printable area each one goes in, or you can link each printable area to a specific option.
For example, this screenshot shows a 3-piece triptych which will print the customer's artwork on 3 separate pieces of canvas. If you had created a separate file upload field for each of the 3 pictures to be printed, then you can set the printable areas in the Media Library and use the Linked Option field to link each printable area to a specific file upload field.

Showing a different preview for each size or orientation
To show a different preview for each size or orientation, for example a print that comes in portrait and landscape, set the product up as a variable product.
WooCommerce has two ways to add choices like size to a product:
- Variations - These are part of WooCommerce itself. Each variation can have its own image. When the customer selects a variation, WooCommerce changes the main product image to that variation's image.
- Product options - These are the extra fields you add with WooCommerce Product Options, such as the file upload field. They don't change the main product image.
Add size and orientation as variations, and use product options for everything else.
To set it up:
- Create a variable product with a variation for each size and orientation. WooCommerce explains how in its guide to variable products.
- Add an image to each variation. Variations that look the same can use the same image.
- Set a printable area on each variation image and link it to your file upload option. Set the areas on each image separately, rather than using Use for variation images, because each image needs its own printable area.
- Add your other choices, such as paper type and the file upload itself, as product options. You can use conditional logic to show or hide them based on the variation the customer selects.
WooCommerce doesn't show variation images as gallery thumbnails by default, so customers only see the image for the variation they've selected.
When does the preview window open automatically?
The live preview tries to do as much of the work as possible for the customer:
- When the customer fills in an option and it's clear where it should appear on the product image, the preview is created on the product page without opening the preview window. This is the case when the option is linked to a printable area with the Linked Option setting, or when the product image has a single printable area.
- When the customer needs to choose where their personalization goes, for example because the product image has several printable areas that accept the same option, the preview window opens automatically so they can place it.
Customers can always open the preview window with the customize button next to each option. Developers can also make the preview window wait until the customer has filled in all the options with live preview enabled, using the wc_live_preview_strict_opening_mode filter.
Does the customer's personalization appear on the cart and checkout?
If you're using the standard WooCommerce cart and checkout pages then the preview images will appear against the relevant products, with one preview for each product image that contains the customer's personalization. Customers can click on them to reassure themselves that their customizations have been saved.
If the product has a live preview, the preview is restored with the rest of their choices, so your customer sees what they built while they change it.
Unfortunately, it is not currently possible to display the preview images with the WooCommerce cart and checkout blocks. We have a separate article about this.
Can customers edit the image, e.g. by re-cropping it or removing the background?
The Live Preview add-on allows customers to reposition, resize and rotate their images. We recommend using the description field of the file upload field to provide clear instructions to the customer, for example advising them to edit and crop their images before uploading them to the product.
If you would like customers to be able to make other changes to the images then please send us a feature request with details of what you would like. In the meantime, the only plugin we're aware of that can do this is called Fancy Product Designer. This is much more complex to set up, but also has extra functionality such as the ability to edit images.
Can I customize the live preview?
The Live Preview contains several developer filters which you can use to customize it. These include:
- Changing the upscaling factor which affects the quality of the image preview.
- Changing the maximum canvas size (defaults to 2400x2400).
- Changing the default object-fit when images are added to printable areas on the front end. This defaults to contain (often referred to as "fit") and can be set to cover (or "fill").
- Changing how preview files are stored on your web server. By default, they are stored as PNG files. Some store owners might want to save server space by using the JPG format.
- Changing the file preview quality when JPG is the chosen output format.
- Setting the default font and color of the text added by customers.
- Adding your own custom fonts.
Does it work with WooCommerce Bulk Variations?
Lots of people use WooCommerce Product Options with our WooCommerce Bulk Variations plugin to display size and color variations (for example) in a quick order form with options such as file upload fields below.

You can also use the Live Preview add-on to allow customers to preview their uploaded images. To do this, you must upload a generic image as the main product image and the live preview will appear on this - as you can see with the white t-shirt in the screenshot above. It's not possible to display a live preview on each variation image because there's no way for customers to select an individual variation in the grid (by definition, WooCommerce Bulk Variations is about ordering multiple variations at once!).
When customers do this, 3 images will appear against each variation in the cart and checkout:
- The customer's uploaded image.
- The main product image with the customer's image added (e.g. the white t-shirt from the screenshot above).
- The image for the individual variation, without the customer's image (e.g. a green, red or blue t-shirt from the above example).
We are aware that some people would like to be able to display the preview on individual variation images when using Live Preview with WooCommerce Bulk Variations. We are currently investigating ways to make this possible and would appreciate your feature requests with details of how you would like the interface to work.