- Issue created by @DamienMcKenna
- πΊπΈUnited States jrockowitz Brooklyn, NY
I am not using the Commerce module, but I am open to helping someone create a schemadotorg_commerce.module. I am not sure if this module should live in the core schemadotorg project or be moved to a schemadotorg_commerce project.
I can improve the initial notes for the "integration process" as needed.
https://git.drupalcode.org/project/schemadotorg/-/blob/1.0.x/docs/DEVELO...
- π°π¬Kyrgyzstan dan_metille
Yes, products are a big part of Schema.org, that would be great to fill the gap.
- πΊπΈUnited States jrockowitz Brooklyn, NY
I am going to stick to commerce support should be a dedicated module instead of a sub-module.
I know there are a lot of integration sub-modules already in the core schemadotorg project. Still, these tend to be simple integration modules compared to commerce which is an entire subsystem. Paragraphs support in included in the core project because it is a critical integration/subsystem.
- πΊπΈUnited States DamienMcKenna NH, USA
Let's use this as a discussion on what exactly should be done.
- πΊπΈUnited States jrockowitz Brooklyn, NY
My shortlist would be...
- Create a schemadotorg_commerce project.
- Set up Schema.org Mapping Type for all commerce content entity types.
- Identify corresponding Schema.org types. (ex. https://schema.org/Product)
- Determine reasonable default properties.
- Decide what improvements and tweaks can be made to the core module. For example, improve the default Schema.org types and properties can be made to the default settings.
- Possibly write hooks to massage the JSON-LD
- Explore using starterkit to set up the default and required mappings
Notes:
Improving Schema.org type and property default settings should be to core module. For example, if the defaults are properly defined someone could architect products and more using just nodes with e-commerce capabilities.,
References
- πΊπΈUnited States jrockowitz Brooklyn, NY
If you look at the approach in β¨ Schema.org Blueprints: WebPage Fixed . We can allow any Schema.org type mapping to also be a https://schema.org/Product.
For example, a https://schema.org/HotelRoom can also be a https://schema.org/Product.
@see https://schema.org/docs/hotels.html#pricing - π«π·France nicolasgraph Strasbourg
Let's post Commerce related issues in the Schema.org Blueprints Commerce β issue queue now.