Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
Description
Currently products are served from separate endpoint /.rest/ecommerce/v1/products
In headless approach and when choosing single product (teaser) it would be more performant if we return resolved product object with the page (the same way it works for content type resolvers)
something like this (similar to Focal resolver) would be nice
references:
- name: productReference
propertyName: product
referenceResolver:
class: info.magnolia.ecommerce.rest.ProductReferenceResolverDefinition
implementationClass: info.magnolia.ecommerce.rest.ProductReferenceResolver
maybe something similar for category also
Currently this is possible only through making request to pages, parsing product json and making second request to ecommerce so it takes relatively more time and resources
Checklists
Acceptance criteria
Attachments
1.
|
Implementation |
|
To Do | Unassigned |
2.
|
Review |
|
To Do | Unassigned |
3.
|
Pre-Integration QA |
|
To Do | Unassigned |
4.
|
QA |
|
To Do | Unassigned |