For additional information on creating customized Shipping Groups, refer to the Working with Purchase Process Objects chapter of the ATG Commerce Programming Guide.

  1. Refer to the Order Tools section of the ATG Commerce Programming Guide to create a new shipping group type. This includes defining the type-to-class name mapping for ShippingGroup objects.

  2. Refer to the Create a Shipping Group section of the ATG Commerce Programming Guide to create the shipping group.

    Note: If you do not want to initialize the custom shipping group types using the ShippinGroupDroplet, continue on to step 5.

  3. Write a new ShippingGroupInitializer implementation. The initializeShippingGroups() method should gather the user’s ShippingGroups by type and add them to the ShippingGroupMapContainer referenced by the ShippingGroupFormHandler.

  4. Open your custom application and modify ShippingGroupDroplet.properties shippingGroupInitializers parameter by adding your new shipping group type. For example:

    /DCS-CSR-UI/atg/commerce/custsvc/order/ShippingGroupDroplet.properties
    ## ServiceMap of shippingGroupTypes to ShippingGroupInitializer
    Nucleus components

    shippingGroupInitializers+=\
    newShippingGroup=/atg/commerce/custsvc/order/NewShippingGroupInitializer

  5. Update the /atg/commerce/custsvc/util/CSRConfigurator.properties file shippingGroupTypesToBeInitialized property and shippingGroupTypeConfigurations property to include your new shipping group type. This configuration initializes shipping group types in the ShippingGroupDroplet.

    Initialize your new shipping group type by adding your new shipping group type to the shippingGroupTypesToBeInitialized property. For example:

    /atg/commerce/custsvc/util/CSRConfigurator.properties

    ## Shipping group fragment settings
    shippingGroupTypesToBeInitialized= newShippingGroup
    shippingGroupTypeConfigurations+=\
      /atg/commerce/custsvc/ui/NewShipingGroupConfiguration

  6. Add the CommerceTypeConfiguration component to the shippingGroupTypeConfigurations property for any new supported shipping group type.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices