How does geometrixx outdoor's Order page work in AEM 6? | Community
Skip to main content
October 16, 2015
Solved

How does geometrixx outdoor's Order page work in AEM 6?

  • October 16, 2015
  • 3 replies
  • 668 views

in AEM, how does geometrixx-outdoor's Orders.html page work.

http://localhost:4502/aem/orders.html/etc/commerce/orders

my initial finding is that /libs/commerce/gui/content/orders is being rendered and data is fetched from /etc/commerce/orders folder. but i'm not able to figure out how it's fetching data for the users. i need to extend this functionality and check if i can use it for the functionality i need.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

Hi,

Base page for displaying the orders is

/libs/commerce/gui/content/orders/properties.html

but all the all the content would be set based on the parameters that would be captured here

/libs/commerce/gui/content/orders/properties/jcr%3Acontent/body/content/content

3 replies

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Hi Shashi,

  Each order is associated with a User. If you look at /etc/commerce/orders, it contains 'order' node within the date folder which contains all the details of that order. There is another node 'order-details' under order which contains the billing and shipping details which will have the user details aswell based on which you see it on the UI

October 16, 2015

Hello

thanks for the reply. My initial question was that nodes are saved at location /etc/commerce/orders folder.

and /libs/commerce/gui/content/orders is the page fetching the nodes to show on the page. This folder is an overlay of /libs/granite/ui/components/foundation/page and ResourceMerger API is being used for this.

what i'm not able to see is the actual flow of execution that from where data nodes are being fetched and from where rendering is being done. i will be grateful if you would point me towards the right track.smiley

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

Hi,

Base page for displaying the orders is

/libs/commerce/gui/content/orders/properties.html

but all the all the content would be set based on the parameters that would be captured here

/libs/commerce/gui/content/orders/properties/jcr%3Acontent/body/content/content