Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: bojanz at Centarro 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.