If you have registered sites for use with Oracle ATG Web Commerce’s multisite feature, then scheduled orders can be “site-aware” just like other Commerce orders. Scheduled orders are different from regular orders placed by users, however, because there is no actual user interacting with a site when the order is placed. Instead, the ScheduledOrderFormHandler
saves the siteId
as part of the order template.
The siteId
is copied from the initial order’s siteId
property, even if the value is null, and overrides any siteId
set in the page. The ID is then retrieved by the ScheduledOrderService
during order processing.
The ScheduledOrderTools
component includes one property to control how scheduled orders are processed for registered sites:
useSitePriceLists
– Iftrue
, retrieves the price list from the scheduled order. Iffalse
, the price list is determined based on the profile. The default value istrue
.