When you run Commerce Reference Store for evaluation or development purposes, you can simulate customer activity by browsing the site, adding items to a shopping cart, and proceeding through the checkout process. After the order is submitted, though, nothing further will happen, because no actual fulfillment takes place.
To enable order processing to continue (for example, sending an e-mail that the order has shipped, adjusting inventory, etc.), hardgood shipping groups must be marked as fulfilled. There are two ways to make this happen:
Mark individual shipping groups as fulfilled in the Dynamo Server Admin.
Configure the
/atg/commerce/fulfillment/HardgoodShipper
component to periodically mark all shipping groups that are pending shipment as fulfilled.
Marking an Individual Shipping Group as Fulfilled
To mark an individual shipping group as fulfilled:
Start the Dynamo Server Admin, and click the Commerce Administration link.
On the Dynamo Commerce Administration page, click the Fulfillment Administration link.
On the Fulfillment Administration page, under List Shippable Groups, click the link to display the IDs of all the orders and shipping groups that are ready to be shipped.
Under Notify Fulfillment of Shipment, enter the
OrderId
and theShippingGroupId
for the shipping group you want to mark as fulfilled. Click Ship.
Configuring the HardgoodShipper Component
The /atg/commerce/fulfillment/HargoodShipper
component is of class atg.commerce.fulfillment.HardgoodShipper
, which implements the Schedulable
interface. This component periodically checks for shipping groups whose status is PENDING_SHIPMENT and marks them as shipped.
The HardgoodShipper
component comes preconfigured in the Commerce Fulfillment
module, but it is not enabled by default. You can enable it on a currently running Commerce instance through the ATG Control Center by opening the component and clicking the Start button. Or you can configure it to start up automatically when your application starts up by adding it to the initialServices
property of the /Initial
component:
initialServices+=/atg/commerce/fulfillment/HardgoodShipper
By default, HardgoodShipper
is configured to run every six hours. You can change the frequency by setting the schedule
property to a different value. See the Core Dynamo Services chapter of theATG Platform Programming Guide for information about setting the schedule
property of a schedulable service.
Important: Be sure to disable this component on your production environment.