Table of Contents & Menu
Navigation

Product Gallery Options

The Hyvä Default Theme Product Gallery is primarily managed via its phtml template. This means etc/view.xml customizations for the Luma Fotorama Gallery do not apply.

Hyvä's Product Gallery supports limited behavioral configuration options, but not styling. For greater design and styling flexibility, explore the Hyvä UI Galleries.

Supported etc/view.xml Options

This option controls how new images load into the gallery when product options are selected.

<vars module="Magento_ConfigurableProduct">
    <var name="gallery_switch_strategy">append</var> <!-- 'append' or 'replace' -->
</vars>
  • append: Adds new images to the existing gallery.
  • replace: Replaces current images with newly selected images.

Video Options

As of Hyvä Default Theme version 1.3.6, all video-related options are supported in the Product Gallery, except for Autostart base video.

Configure these settings at: Stores → Configuration → Catalog → Catalog → Product Video

Hyvä UI Galleries

For extensive customization without modifying phtml files, Hyvä UI Galleries provide additional configuration options. These include reintroducing certain etc/view.xml settings like:

  • navdir: Sets the direction of thumbnail navigation (horizontal or vertical).

Hyvä UI also introduces new options exclusive to its gallery system. For a more customized and styled gallery experience, refer to the Hyvä UI Gallery documentation: Hyvä UI Gallery Options.

For more details on etc/view.xml configuration, consult these resources: