Oracle ATG Web Commerce Reference Store provides a sample multisite application that includes three sites: ATG Store US, ATG Store Germany, and ATG Home. These sites are related in the following ways:
ATG Store US and ATG Home share a shopping cart, product comparisons, and gift and wish lists. Some catalog items are available on both sites, but each site also has items not available on the other site.
ATG Store US and ATG Store Germany have identical catalogs, but use different price lists because ATG Store US prices are in US dollars and ATG Store Germany prices are in Euros. These sites do not share a shopping cart, product comparisons, or gift and wish lists.
The sites are preconfigured in the Site Repository:
All three sites use the default ATG site category.
Commerce Reference Store adds application-specific properties, such as various site e-mail addresses, to the
siteConfiguration
item type.
The sites are designed to use the same front-end code and to take advantage of cross-site data sharing and navigation:
All of the stores use the same JSP pages, with some styling differences.
When a product from a site other than the current site appears in a gift list, product comparison, shopping cart, etc., the site that the product is from is indicated with the site name and site icon. In displays of cross-sells and related products, these indicators also function as cross-site links.
The sites use a URL strategy based on virtual context roots. (See URL Management for more information.)
In addition to the product catalog and shopping cart, the application includes a variety of other types of site-aware data and functionality:
Site-aware promotions, including one that gives free shipping to users checking out from ATG Home, and one that gives a 20% discount on the highest-priced item from ATG Home.
A targeter that uses site override rules to display different items on each site.
A user segment with different age criteria on different sites.
The ability to search for items on the current site only or on all sites in the same sharing group.