Implement theming and templates for Store entities.

Something similar was started for products : #2654884: Add a template for products.

CommentFileSizeAuthor
#2 store_templates-2658240-2.patch3.74 KBvasike

Comments

vasike created an issue. See original summary.

vasike’s picture

Status: Active » Needs review
StatusFileSize
new3.74 KB

and 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.

  • bojanz committed 4a8e178 on 8.x-2.x authored by vasike
    Issue #2658240 by vasike: Store theming and templates
    
bojanz’s picture

Status: Needs review » Fixed

We 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.