Add a Description Modal to Photo Prints
How to add an info icon next to a print size name in the Photo Prints interface that shows a description, image, or both when hovered.
Overview
For package prints or any print size that might not be self-explanatory, you can add a small information icon (i) next to the product name. When the customer hovers over it, a tooltip modal appears showing descriptive text, an image of what the print looks like, or both. This helps customers understand exactly what they are ordering — especially useful for combo sheets where multiple sizes are printed on a single sheet.
This is configured at the design level using a custom field called extra_info.
How to add the description modal
1. Ensure the extra_info custom field exists
Go to the design for the print product you want to add a description to.
Scroll to the Custom Fields section at the bottom.
Look for a field called
extra_info.If it does not exist, click Edit Schema, then Add Custom Field.
Set the field name to
extra_info, the type to Snippet, and click Save.
2. Add plain text content
Return to the design and find the
extra_infofield.Enter your description text. For example:
Save the design.
Refresh your storefront. You should see a small info icon (i) next to the product name. Hovering over it displays your text.
Plain text is often sufficient — especially for listing the sizes included in a package print.
3. Add HTML content with an image (optional)
If you want to show an image alongside the text (e.g. a visual preview of the package layout), you can enter HTML into the extra_info field instead of plain text.
Step 1: Upload the image
Go to Admin > Website > Assets.
Upload the image you want to display (e.g. a diagram or cutout showing the print layout).
Note the filename.
Step 2: Write the HTML
Use a simple single-column layout. The modal has a limited width, so keep it simple:
Use
col-12for full width within the modal — do not use two-column layouts (col-6) as the modal is too narrow.Use
img-fluidso the image scales to fit.Keep the heading small (
h6) — the modal space is limited.
Step 3: Paste into the custom field
Open the design and paste the HTML into the
extra_infofield.Save.
Refresh the storefront and hover over the info icon to verify.
Tips
The modal is small — keep content concise. A single image plus a one-line description is ideal.
For image-only content, you can omit the text block entirely.
For text-only content, plain text (no HTML) works fine and is simpler to maintain.
Use a clear, simple diagram or cutout image rather than a detailed photograph. The image will render small in the tooltip.
The
extra_infofield is per-design, so you can set different descriptions for each print size or package.The HTML renders inside a Bootstrap 4.6 context, so standard Bootstrap grid classes (
row,col-*) and utility classes (mt-2,img-fluid) are available.
Related
Photo Prints — Overview
Setting Up Package Prints
Loom video: Add a Description Modal to Photo Prints
Last updated