Skip to content

Product pages

The product page is the most configurable template in Torquex. It is built from a Product section (the media gallery plus a stack of rearrangeable blocks), a Product tabs section for long-form content, and three optional supporting sections — Product recommendations, Recently viewed, and the Sticky add-to-cart bar. Everything is assembled in the theme editor: open Online Store → Themes → Customize, then select a product from the page selector to edit the Products → Default product template.

Every block and section here is built with vanilla CSS and JavaScript. No third-party apps are required for any built-in feature (a reviews app is the only optional integration). Variant changes, pricing, stock, the gallery, the lightbox, the sticky bar, and recommendations all update live in the browser.

The Torquex product page — a media gallery with thumbnail strip and a "Payment & Security" panel on the left, and a buy box on the right with vendor, title, price, in-stock indicator, diameter variant chips, quantity stepper, an orange "Add to cart" button, a "Buy with Shop" button, pickup availability, and a Year/Make/Model fitment selector

Torquex ships a product template that lays out, in order:

  1. Product section — gallery on one side, the product blocks on the other.
  2. Product tabs section — collapsible accordions / desktop tabs.
  3. Product recommendations section — “You may also like”.
  4. Recently viewed section.
  5. Sticky add-to-cart bar section.

You can reorder, remove, or duplicate these sections, and you can apply the template to specific products by creating alternate templates in your Shopify admin under Online Store → Themes → ⋯ → Edit code → Templates, or via Products → (a product) → Theme template.

The Product section holds the media gallery and a panel of blocks. On desktop the gallery and the block panel sit side by side, and the block panel becomes sticky as the shopper scrolls. On mobile they stack.

Find these in the section’s settings when the Product section is selected in the theme editor:

SettingWhat it doesDefault
Enable image lightboxOpens a full-screen image view when the gallery image is clicked.On
Enable image zoomTurns on the hover magnifier (desktop pointers only).On
Zoom methodHover lens (loupe) shows a circular magnifier that follows the cursor; Hover inner zoom magnifies inside the image frame. Only visible while Enable image zoom is on.Hover lens (loupe)
Show payment and securityShows the trust panel below the gallery.On
HeadingThe trust panel heading text.Payment & Security
Show payment iconsShows icons for the payment providers enabled in your checkout settings.On
Payment methods labelSub-heading above the payment icons.Payment methods
Security textRich-text reassurance message in the trust panel.A default privacy statement
Padding top / Padding bottomVertical spacing around the section (0–120px).80 / 80

The product title and price are blocks you place in the panel (see below), while breadcrumbs and JSON-LD structured data are output by the section itself — so each product page emits valid schema.org Product markup (name, image, brand, SKU, price, availability) for search engines. The SKU in that markup uses the custom.part_number metafield when set.

The gallery renders every media item attached to the product — images, Shopify-hosted video, external video (YouTube/Vimeo), and 3D models.

  • Main stage shows the active media. Previous/next arrows appear when there is more than one item.
  • Thumbnail strip lets shoppers jump to any item; video and 3D items carry a small play / zoom icon. The strip scrolls horizontally with its own prev/next controls when it overflows.
  • Video plays inline with native controls. 3D models load Shopify’s model viewer and a View in your space (AR) button on supported devices.
  • The gallery is keyboard-navigable and respects the visitor’s reduced-motion preference.

When Enable image lightbox is on, clicking a gallery image opens a full-screen dialog with its own previous/next navigation, a close button, and a live region that announces the current slide for screen readers. The lightbox only includes image media. It is fully keyboard- and RTL-aware.

When Enable image zoom is on (desktop pointers only), hovering the main image magnifies it. Zoom method controls the style: a circular loupe that tracks the cursor, or an inner zoom that enlarges within the image frame. Lightbox and hover zoom can both be on at once.

Inside the Product section, add, remove, reorder, and configure these blocks in the theme editor. The default order is vendor, title, SKU, price, stock, badges, variant picker, quantity, buy buttons, pickup, fitment, share — but you control it.

The variant picker, quantity selector, and buy buttons are separate blocks that are wired together automatically: the picker and quantity inputs submit through the buy-buttons form even though they sit in different blocks. You can place them in any order.

You can also add general-purpose blocks: Sales point, Custom text, Custom Liquid, and app blocks.

Shows the product’s vendor/brand, styled as a small accent-colored eyebrow. Renders nothing if the product has no vendor. No settings.

Renders the product name. On the product template it is the page’s single <h1>. No settings.

Shows the product’s SKU or part number. It prefers the custom.part_number metafield and falls back to the selected variant’s Shopify SKU; it updates as the shopper changes variants. Renders nothing when neither is set. No settings. See the SKU/part-number metafield on the Automotive features page.

Shows the current price. It adds a struck-through compare-at price when the product is on sale, a per-unit price for unit-priced products (e.g. price per 100 ml), and a “tax included” note when your store displays tax-inclusive prices. Updates live on variant change. No settings.

A colored dot plus label that reflects the selected variant’s inventory:

  • In stock (success color) when available.
  • Low stock (warning color) when tracked inventory is at or below 5 units, with the remaining count.
  • Sold out (error color) when unavailable.

It only shows low/sold-out states for variants that track inventory and deny overselling; otherwise it shows “in stock”. Updates live on variant change.

SettingWhat it doesDefault
Hide when stock is abundantOnly show the indicator when stock is low or sold out — hides the plain “in stock” message.Off

Shows two automotive badges side by side, each only when its metafield is present:

  • The install-difficulty badge (a wrench icon plus Easy install / Moderate install / Pro install), from custom.install_difficulty.
  • The “Fits your vehicle” badge, which lights up when the shopper’s saved garage vehicle matches the product’s custom.fitment data.

This block has no settings — it reads its data from metafields. See Automotive features for how to set up custom.install_difficulty and custom.fitment.

Renders each product option. It renders nothing for products that have only a single (default) variant.

SettingWhat it doesDefault
Show variant labelsShow the option name (e.g. “Color”) above each option.On
TypeButtons renders selectable chips (with color/image swatches when your options use Shopify swatches); Dropdown renders a native select per option.Buttons
Enable dynamic product optionsFor combined listings, updates option availability across connected products without a full page reload. Leave off for standard single-product variants.Off

Unavailable option values are shown struck-through (buttons) or labeled unavailable (dropdown) rather than hidden, so shoppers can see the full range.

A labeled stepper with minus/plus buttons. It honors each variant’s quantity rules — minimum, maximum, and increment — and caps the maximum at available stock for inventory-tracked variants. It is disabled when the variant is sold out. No settings.

The core purchase form. It contains:

  • The Add to cart button (becomes “Sold out” and disables when the variant is unavailable).
  • Purchase options (one-time vs. subscription) when the product has selling plans.
  • A gift card recipient form (email, name, message, send-on date) when the product is a gift card.
  • The Shop Pay Installments banner, when enabled.
SettingWhat it doesDefault
Show dynamic checkout buttonAdds express wallet buttons (Shop Pay, PayPal, and others) for instant checkout. Requires accelerated checkout to be enabled in Theme settings → Checkout.On

Renders the product’s description as rich text, with an optional Read more / Show less toggle.

SettingWhat it doesDefault
Truncate after linesCollapse the description after this many lines and show a “Read more” toggle. Set to 0 to always show the full text.3

The description also appears in the Tab — Description tab; use whichever placement suits your layout, or both.

Shows local pickup availability for the selected variant at your store’s locations, with a “View store info (N)” button (labeled “Store pickup availability” for screen readers) that opens a drawer listing each location and its pickup status. It only appears when local pickup is set up in your Shopify admin and at least one location offers it. Updates on variant change. No settings.

Renders the cascading Year → Make → Model fitment selector for the current product, telling the shopper whether the part fits their vehicle. It appears only when the product has custom.fitment data. No settings — see Automotive features for the fitment metafield format and behavior.

Adds share buttons for the current product.

SettingWhat it doesDefault
HeadingOptional eyebrow above the buttons. Leave blank to hide it.Share on social media
FacebookShow the Facebook share button.On
X (Twitter)Show the X share button.On
PinterestShow the Pinterest share button.On
Copy linkShow a button that copies the product URL to the clipboard.On
Show button labelsShow text labels next to the icons (off = icon-only compact buttons).Off

The block hides itself if every network is turned off.

The Product tabs section holds long-form product content. On mobile each tab is a collapsible accordion; on wide screens the tabs render as a horizontal tab bar (one panel open at a time). The section only renders when it has at least one tab block. Add, remove, and reorder the tab blocks in the theme editor.

Find these in the section’s settings:

SettingWhat it doesDefault
Color schemeThe color scheme applied to the tabs section.scheme-1
Padding top / Padding bottomVertical spacing around the section (0–120px).80 / 80

Each tab shows an “empty” message when it has no content to display, so reviewers and merchants can see the structure even before data is added.

Renders the full product description as rich text. No settings.

Renders a technical specs table built from product metafields: Part number (custom.part_number), Weight (custom.weight_kg, with ” kg” appended automatically), Dimensions (custom.dimensions), Material (custom.material), and Warranty (custom.warranty). The tab shows only the rows that have values. No settings — see Automotive features for the exact metafield setup and value formats.

Renders a full vehicle-fitment table from the custom.fitment metafield, with Year, Make, Model, and Trim columns (Trim falls back to an em dash when a row has none). No settings — see Automotive features for the fitment JSON format.

Installation guidance with up to three parts: the install-difficulty badge (from custom.install_difficulty), rich-text instructions, and an optional video.

SettingWhat it doesDefault
Installation instructionsRich-text installation steps.Empty
Video (Shopify-hosted)A Shopify-hosted video. Preferred — overrides the video URL below when set.Empty
Video URL (YouTube / Vimeo)A YouTube or Vimeo link, used only when no Shopify-hosted video is set.Empty

The difficulty badge is read from the product metafield; see Automotive features.

Hosts a review app’s block. Add your review app block to this tab in the theme editor. On the storefront the tab stays hidden until a review app block is present; before then, guidance shows only in the theme editor. The tab works with any Shopify review app that provides theme app blocks — no specific app is required.

The Sticky add-to-cart bar section pins a compact purchase bar to the bottom of the screen after the shopper scrolls past the main add-to-cart button. It shows the product thumbnail, title, price, a variant selector (for multi-variant products), and an Add to cart button. It stays in sync with the main variant picker — changing the variant in either place updates both, including the price and availability.

SettingWhat it doesDefault
Show bar after scrollingHow far down the page (200–800px) a visitor scrolls before the bar appears.400
Hide on mobileDon’t show the sticky bar on phone-sized screens.On

The bar only renders on the product template.

Quick view lets shoppers preview a product in a modal directly from a product card, without leaving the collection or search page. It shows the featured image, title, price, a short description, variant dropdowns, a quantity stepper, an Add to cart button, and a “View full details” link.

Quick view is enabled globally — turn it on with Enable quick view under Theme settings → Products (it applies to product cards across collection, search, and recommendation grids). There are no per-page settings for the quick-view modal itself.

The Product recommendations section shows a grid of related or complementary products under the main product. It loads asynchronously from Shopify’s recommendations API and hides itself if there are none to show.

SettingWhat it doesDefault
HeadingSection heading (e.g. “You may also like”). Leave blank to hide it.You may also like
Recommendation typeRelated products are chosen automatically by Shopify; Complementary products are the ones you set per product in the Search & Discovery app.Related products
Maximum productsHow many products to show (2–10).4
Color schemeThe color scheme for the section.scheme-1
Columns (desktop)Columns on desktop (2–5).4
Columns (mobile)Columns on phones (1 or 2).2
Padding top / Padding bottomVertical spacing (0–120px).80 / 80

The Recently viewed section shows products the shopper has looked at, read from their browser (no account or app needed). When there is no history yet, it can fall back to a collection you choose.

SettingWhat it doesDefault
HeadingSection heading. Leave blank to hide it.Recently viewed
Fallback collectionProducts shown when the visitor has no browsing history yet.None
Color schemeThe color scheme for the section.scheme-1
Columns (desktop)Columns on desktop (2–6).4
Columns (mobile)Columns on phones (1 or 2).2
Maximum productsHow many products to show (4–10).4
Padding top / Padding bottomVertical spacing (0–120px).80 / 80

If there is no history and no fallback collection, the section hides itself.

All product blocks, the gallery, the lightbox, the tabs, and the sticky bar use semantic markup, accessible labels, live regions for price/stock/availability announcements, full keyboard support, and respect reduced-motion preferences — meeting WCAG 2.1 AA. Every label is translatable, and the layout is fully RTL-aware.


Next: set up the data behind the automotive blocks in Automotive features, or review the global product-card options in Collection & search pages. Need a hand? Contact Torquex support — we reply within 12 hours.