Oracle ATG Web Commerce Reference Store provides a sample multisite application that includes three sites: CRS Store US, CRS Store Germany, and CRS Home. These sites are related in the following ways:
CRS Store US and CRS 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.
CRS Store US and CRS Store Germany have identical catalogs, but use different price lists because CRS Store US prices are in US dollars and CRS 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 CRS Home, and one that gives a 20% discount on the highest-priced item from CRS .
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.