Commerce Reference Store adds a cssFile
property to the siteConfiguration
item type of the Site Repository. This property is visible on the Presentation tab in Site Administration and it is used to specify the base CSS filename for each site. The values stored for the three Commerce Reference Store sites are shown in the table below:
Site | Base CSS Filename |
---|---|
CRS Store US |
|
CRS Store Germany |
|
CRS |
|
Two JSP files, store.war/includes/pageStart.jsp
and store.war/includes/popupStart.jsp
, use the cssFile
property value to construct pathnames to the site-specific CSS files located in store.war/css/site
. The pageStart.jsp
gadget creates CSS links for all of the standard Commerce Reference Store pages while popupStart.jsp
creates CSS links for pop-up windows. The /css/site
directory contains the following files:
store.css
– Used by CRS Store US and CRS Store Germany when English is the current language.store_de.css
– Used by CRS Store Germany when German is the current language.store_de_ie.css
– Used by CRS Store Germany when German is the current language; includes additional settings for Internet Explorer.store_es.css
– Used by CRS Store US when Spanish is the current language.store_es_ie.css
– Used by CRS Store US when Spanish is the current language; includes additional settings for Internet Explorer..css
– Used by CRS Home when English is the current language._ie.css
– Used by CRS Home when English is the current language; includes additional settings for Internet Explorer._es.css
– Used by CRS Home when Spanish is the current language._es_ie.css
– Used by CRS Home when Spanish is the current language; includes additional settings for Internet Explorer.
The following section describes how pageStart.jsp
and popupStart.jsp
determine which CSS file to use.