Skip to content

Shop the Look with Product Hotspots for Shopify

Shopify section with a lifestyle photo and product hotspots: each dot opens a small product card, and a side list shows the same products. Keyboard accessible.

Also known as: shopify shop the look section, shopify product hotspots, shoppable image shopify, shopify lookbook section, image with product dots shopify

Preview with sample data

Open in new tab

Liquid code

A shop-the-look section for Shopify: a lifestyle photo with product hotspots. Each dot opens a small card with the product image, title, price and a link, and a list beside the photo shows the same products. Use it on the home page, a lookbook or a collection page to turn a styled photo into a shoppable one. Copy section.liquid into your theme's sections folder and add it from the theme editor as "WDS Shop the look".

How it works

Every hotspot is a block with a product and a horizontal and vertical position in percent. Dots are white with a ring in your accent color. Selecting a dot opens its product card next to it, and only one card is open at a time. Cards on the right half of the photo open to the left, and cards on the lower half open upward, so they stay on the image. On phones the card sits along the bottom of the photo.

Pointing at or focusing a product in the side list highlights its dot. Prices use your store's money format, show "From" for products with several prices, and mark sold-out products. When you select a hotspot block in the theme editor, its card opens so you can check the position.

Customization

  • Eyebrow, Heading and Text (rich text).
  • Image, Image ratio (adapt, portrait, square or landscape) and Image position on desktop.
  • Show product list, List heading, plus Button label and Button link under the list.
  • On each Hotspot block: Product, Horizontal position and Vertical position.
  • Labels for the card link, the dots, the close button, variable prices and sold-out products.
  • Background, Text and Accent colors, plus Side, Top and Bottom padding.

Accessibility

Dots are real buttons named "Product 1: title", with aria-expanded and aria-controls pointing to their card. The card follows its dot in the tab order, so Tab moves from a dot to the product link. Escape or the close button closes the card and returns focus to the dot. Clicking outside or moving focus elsewhere closes it too. Each dot has a larger invisible touch area, all controls show a visible focus outline, and animations stop for people who prefer reduced motion.

Usage notes

This section requires an Online Store 2.0 theme and takes its fonts from it. Up to 8 hotspots fit in one section. Check the dot positions on a phone as well, since a photo cropped to a different ratio moves its contents. The card does not include an add-to-cart button: it links to the product page, where shoppers choose variants.

The preview uses an Unsplash photo and invented products and prices; replace them with your own image and products. In the preview the links do nothing and the first card starts open.

Shop the Look with Product Hotspots for Shopify at a glance

Framework
Shopify
Code
Liquid
JavaScript
Not needed
Dependencies
fonts.googleapis.com
Layout
Responsive, works on mobile
Category
Product Grids
License
Free for personal and commercial use

Questions about this section

Can I use the Shop the Look with Product Hotspots for Shopify code for free?

Yes. You can copy or download the Liquid code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my Shopify store?

Create a new section named shopify-shop-the-look in your theme code editor, paste the Liquid code and save. Then add the section to a page in the theme editor. It works with Online Store 2.0 themes.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

How to install

  1. In your Shopify admin, go to Online Store > Themes, open the theme's menu and choose Edit code.
  2. Under Sections, add a new section named shopify-shop-the-look, replace its contents with the Liquid code above and save.
  3. Open the theme editor, choose Add section and add it to the page.

Requires an Online Store 2.0 theme. Try it on a copy of your theme first. WebDevSnippets is not affiliated with or endorsed by Shopify.

Shop the Look with Product Hotspots for Shopify – free Shopify product grid template
Shop the Look with Product Hotspots for Shopify · free Shopify product grid template

More Product Grids

Product Grid with Filters – free Tailwind CSS product grid template

Product Grid with Filters

Tailwind CSS category page with a collapsible filter sidebar, live result count, empty state and a product grid sortable by price, rating or date.

Product Listing Grid – free Bootstrap 5 product grid template

Product Listing Grid

Responsive Bootstrap 5 product grid with sale, new, bestseller and sold-out badges, color swatches, wishlist buttons, sorting and client-side pagination.

Build Your Own Bundle Section for Shopify – free Shopify product grid template

Build Your Own Bundle Section for Shopify

Shopify section where shoppers pick a set number of products from a collection, see them in a bundle tray with a live total, and add the whole bundle to the cart at once.

Responsive Product Grid with Sort Bar – free Pure CSS product grid template

Responsive Product Grid with Sort Bar

Pure CSS product grid with photo cards, a results count and a sort dropdown that reorders items by price, rating or date with vanilla JS.

Product Grid with Quick Add on Hover – free Tailwind CSS product grid template

Product Grid with Quick Add on Hover

Tailwind CSS product grid where a quick add bar slides up over each photo on hover or focus, with a live bag counter and wishlist toggle.