Concept - Order Status Mapping (Adobe Experience Manager and Intershop 7)

1 Introduction

Intershop supports variety of order statuses, but the Adobe Experience Manager does not need complex handling of orders by their status. Because of this the order statuses are separated into three groups corresponding to use cases within the Adobe Experience Manager. The handling of these groups is done by using a predicate when getting the placed orders from the commerce session (method getPlacedOrders(String predicate, int pageNumber, int pageSize, String sortId) in IntershopCommerceAdapter).

1.1 Software Version Information

The content of the present document is valid for the following combinations of software versions:

IntershopIntershop Commerce Pro for AdobeAdobe Experience Manager
7.5.12.06.0.1

2 Mapping

Order status in AEMOrder status in Intershop
OPEN

NEW

CREATED

INPROGRESS

OPEN

PENDING
COMPLETED

COMPLETED

REJECTED
CANCELLED
DELIVERED
CANCELLEDANDEXPORTED
RETURNED
NOTDELIVERABLE

3 Predicates

3.1 Predicate openOrders

Returns all customer orders with the following Intershop statuses:

  • NEW
  • CREATED
  • INPROGRESS
  • OPEN
  • PENDING

USe this predicate to show the open orders of a customer.

3.2 Predicate closedOrders

Returns all customer orders with the following Intershop statuses:

  • COMPLETED
  • REJECTED
  • CANCELLED
  • DELIVERED
  • CANCELLEDANDEXPORTED
  • RETURNED
  • NOTDELIVERABLE

USe this predicate show the order history of a customer.

3.3 Empty Predicate

If the predicate is empty the orders are still filtered. Using an empty predicate returns all customer orders with the following Intershop statuses:

  • COMPLETED
  • DELIVERED

An empty predicate is used by the standard order history property.

Filtering for an empty predicate ensures that the standard order history property works with intershop orders, and there is no need for a separate Intershop order history property.

4 Returning All Orders

Currently there is no predicate that would return all orders. The getPlacedOrders method has to be called twice - first with predicate openOrders and then with closedOrders. The results has to be combined.

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets