4

In default commerce2 (drupal 8) I want to add second product-type view mode, to show in views - like teaser version, including add-to-cart btn with variations. I have additional field in Product type Default (in some custom product types too) and I want to limit them in this second view mode.

Seem like Product type (Default and customs) no options to add other view mode and in views is available Default view mode for Product. Product (type) is not listed in Structure > Display modes > Views modes.

edit:

lamp stack, php-7.0, composer instalation from http://docs.drupalcommerce.org/v2/getting-started/install.html, act as uid 1

admin/commerce/config/product-types/default/edit/display

missing "Custom display settings" above "Save" btn

enter image description here

admin/structure/display-modes/view

Missing "Product (type?)" in list

enter image description here

  • I was unable to understand the problem that you're having. You'll have to expand your question with a list of steps you took, and the steps that didn't work. Note that I was able to add a view mode without problems, on admin/structure/display-modes/view. – Bojan Zivanovic Jan 13 '17 at 13:58
  • edited question, I mean that "Product variation types" Default have option "Custom display settings" to enable other view mode, and it is present in list admin/structure/display-modes/view to add more "view mode", but "Product" itself not. May be I miss something? – svetlio Jan 13 '17 at 15:48
  • 8
    Just bad core UX. Click the blue add button on the top of that page, it will allow you to add view modes for products as well. – Bojan Zivanovic Jan 13 '17 at 17:12
  • Awesome! Thank You very much! I added "Summary" and Product is appear in the list now. And THANK YOU for your great work on Commerce!!! – svetlio Jan 13 '17 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.