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.

Comments

vasike created an issue. See original summary.

vasike’s picture

Status: Active » Needs review
StatusFileSize
new1.23 KB

here is a patch for 2. of issue summary.

- Update base field definitions in the Product entity file - that seems to be all.

vasike’s picture

small update for previous patch - adds the fields also as hidden for the default config

bojanz’s picture

Status: Needs review » Active

#3 has been committed.

  • bojanz committed e42d0f4 on 8.x-2.x authored by vasike
    Issue #2654884 by vasike: Hide the product author and creation date by...
vasike’s picture

Issue summary: View changes
bojanz’s picture

Title: Product page - theming & display » Add a template for products
Issue tags: -Product display, -theming, -templates, -template suggestion

I have #1 done.

bojanz’s picture

Status: Active » Fixed

And committed.

  • bojanz committed 803887f on 8.x-2.x
    Issue #2654884 by vasike, bojanz: Add a template for products
    

Status: Fixed » Closed (fixed)

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