Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-582

Ecommerce Resolver for Delivery API

    XMLWordPrintable

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 Sub-task To Do Unassigned
          2.
          Review Sub-task To Do Unassigned
          3.
          Pre-Integration QA Sub-task To Do Unassigned
          4.
          QA Sub-task To Do Unassigned

          Activity

            People

              Unassigned Unassigned
              NDQ Mykola
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD