Add a "Teaser" view mode for products

Created on 12 June 2020, over 4 years ago
Updated 10 February 2024, 11 months ago

Not sure if we never defined these on purpose or not, but I was just building a simple catalog with Views on my local development site when I discovered there is only a single view mode for products. We should at least ship with "Default" and "Teaser" and / or document how to define new view modes in our documentation.

Feature request
Status

Active

Version

2.0

Component

Product

Created by

🇺🇸United States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy finex

    Hi, on latest version you can manually create a teaser display but the "select variation" form updates all the products on the same page.

  • 🇳🇬Nigeria chike Nigeria

    As per #8 yes you can create one but it works fine as long as you use Layout Builder or remain in-cms. If you make a template override for the view mode your template will be ignored and commerce-product--default.html will always be used, but will respect your custom view mode as to the fields you enable or disable in Manage display.

Production build 0.71.5 2024