Implement theming and templates for Store entities.
Something similar was started for products : #2654884: Add a template for products.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | store_templates-2658240-2.patch | 3.74 KB | vasike |
Implement theming and templates for Store entities.
Something similar was started for products : #2654884: Add a template for products.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | store_templates-2658240-2.patch | 3.74 KB | vasike |
Comments
Comment #2
vasikeand here is patch for this.
- Implements hook_theme()
- Implements hook_theme_suggestions_commerce_store
- Implements template_preprocess_commerce_store
- Add commerce-store.html.twig template file
- Add default store display config file with Address field visible.
Comment #4
bojanz commentedWe don't have a use case for showing stores by default, but that doesn't mean we shouldn't have the underlying code to allow it.
Committed, thanks.