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.
1. Implement theming for product entities
- commerce_product theme
- commerce-product template file
- preprocess
- template suggestions
Solved
2. Display
We should make sure we could display or hide the product data, for example authoring info (#2652704: Port display_submitted to product types) -
Update the default display config as it's needed.
- Body
- Variation
- Hide Owner and created.
For this we need some updates for the base field definitions.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2654884-3-product_base_fields_display_updates.patch | 1.79 KB | vasike |
#2 | 2654884-2-product_base_fields_display_updates.patch | 1.23 KB | vasike |
Comments
Comment #2
vasikehere is a patch for 2. of issue summary.
- Update base field definitions in the Product entity file - that seems to be all.
Comment #3
vasikesmall update for previous patch - adds the fields also as hidden for the default config
Comment #4
bojanz CreditAttribution: bojanz at Centarro commented#3 has been committed.
Comment #6
vasikeComment #7
bojanz CreditAttribution: bojanz at Centarro commentedI have #1 done.
Comment #8
bojanz CreditAttribution: bojanz at Centarro commentedAnd committed.