When you run ATG 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. (Gift certificates are an exception; the SoftgoodFulfiller automatically marks softgood shipping groups as fulfilled when an email message is sent to the recipient.)

To enable order processing to continue (e.g., sending an email that the order has shipped, adjusting inventory, etc.), hardgood shipping groups must be marked as fulfilled. There are two ways to make this happen:

Marking an Individual Shipping Group as Fulfilled

To mark an individual shipping group as fulfilled:

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 ATG Commerce Fulfillment module, but it is not enabled by default. You can enable it on a currently running ATG 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/HargoodShipper

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 the ATG Programming Guide for information about setting the schedule property of a schedulable service.

Important: Be sure to disable this component on your production environment.

 
loading table of contents...