Blog Sections Open

Using DocLister with SimpleGallery for Product Card Previews

How to keep a DocLister-driven product list while still pulling one properly prepared preview image from SimpleGallery.

A original thread from the catalog archive asked a very practical question: if product cards are rendered through DocLister, what is the cleanest way to also show a single prepared preview image from SimpleGallery?

The author already had two working pieces:

  • DocLister for the product list and TV output.
  • SimpleGallery for prepared image variants and gallery storage.

The challenge was not whether either tool worked. It was how to connect them without building an awkward hybrid template.

The right mental model is to keep responsibilities separate: DocLister handles resource selection and TV values, while the gallery layer provides the image source and thumb logic.

[!DocLister?
&tvList=`size,rooms,days,price`
&tpl=`tovar`!]

That is usually a cleaner long-term direction than stuffing the whole listing into a gallery wrapper just because the image path is convenient there.

This scenario still matters because it documents a very common Evolution storefront need: one listing engine, one gallery engine, and one clean preview card on the frontend.

Newer post

Formatting Localized Dates in DocLister Output

How to approach localized date output in DocLister when the default format is not enough.

Older post

Rendering MultiTV Category Links for SEO Landing Pages

How to use MultiTV to store and render selected SEO landing links for category pages in Evolution CMS.