This tutorial is to show you how to create a site with multiple store fronts.
In addition, we will configure this site to supports 2 languages (English and
French) and 2 currencies (USD and CAD).
Part 1 - Setting up the main site and the 2 sub-sites.
Step 1
Go to menu Administration and choose Site.

Step 2 - Creates a new site
Clicks New to create a new site.

Enters the following information and clicks Save.
| Site id |
Enter 'demosite'. |
| Description |
Enter 'Demo site' as the description. |
| Active |
Make sure this is checked. |
During the creation of this site, a default sub-site, 'localhost', is automatically
created. This sub-site is created with English as the language and USD as the
currency.
If you simply want to create a single sub-site configuration, you are basically
done here. To access the site, simply clicks on the sub-site that was just created.

Clicks Sub-site URL and it will takes you to the new site that was just created.

Enters the following information and clicks Save
| Sub-site Description |
Enter 'My phone store' as the sub-site description |
Step 3 - Creates another sub-site
If you have moved on to the sub-site that was just created, clicks Site Maintenance
to go back to the previous screen.

Clicks Option and selects Add sub-site.

Enters the following information and clicks Save
| Sub-site Description |
Enter 'My apparel store' as the sub-site description |
| Site Public Domain Name |
Enter 'localhost'. This is assuming you are testing on your local window
machine. If you have a domain name already setup to the machine you have
JadaSite installed on, please enter it here. |
| Site Public URI Prefix |
Enters
apparel |
| Site Public Port Number (default to
80) |
Enter '8080' if you are using Tomcat as the application server. |
| Enable SSL secure connection |
Check this option. |
| Active |
Make sure this option is checked. |
Part 2 - Setting up language pack.
Step 1
Go to menu Administration and choose Language.

Step 2 - Creates a new language
Clicks New to create a new language pack.

Enter the following information and clicks Save.
| Language Name |
Enter 'French' to create a language pack in French. You can use a different
name if you are creating it in another language. |
| Locale |
Choose French (France) from the drop down. Feel free to use another one
if you are creating for another language. |
| Google Translate Language |
If you are planning to use Google translate to help you to create your
site in different language, please pick a language here. We will setup
this site to make sure of Google translate feature. So, please choose
French from the drop down. |
Once you have saved it, you will see a list of text that is used by JadaSite.
Clicks Translate to to use Google translate to convert the English text into
French. The result is not going to be 100% precise and some manual adjustment
is required. Clicks Save when done.

Part 3 - Configuring languages and currencies for the site
Step 1
Go to menu and choose Home.

Switch to demosite by selecting the dropdown under Switch to another site on
the home page.

Step 2
Go to menu Administration and choose Site profile class.

Clicks New.

Enter the following information and clicks Save.
| Site profile Class Name |
Enter 'French' to create a French profile for demosite. |
| Site profile Class Native Name |
Enter 'Français'. |
| Language |
Select language pack 'French' from the drop down. |
Step 3
Go to menu Administration and choose Site currency class.

Clicks New.

Enter the following information and clicks Save.
| Site currency Class Name |
Enter 'CAD' to create a Canadian currency for demosite. |
| Locale |
Select English (Canada) from the dropdown. This is for formatting the
currency. |
| Currency |
Select CAD from the drop down. |
Step 4
Go to menu Administration and choose Sites.

Clicks Search to look for the site that you just created.

Clicks demosite.

Selects sub-site My phone store.

Clicks Option -> Add besides Profile.

Enter the following information under section profile and clicks Save.
| Profile |
Selects 'French' from the drop down list. |
| Sequence |
Enter 1 as the sequence. |
| Active |
Make sure this option is checked. |
Clicks Option -> Add besides Currency.

Enter the following information under section currency and clicks Save.
| Currency |
Selects 'CAD' from the drop down list. |
| Sequence |
Enter 1 as the sequence. |
| Exchange |
Enter 1.1 as the exchange rate relative to the base currency. This value
will be used to dynamically convert currency into CAD dollars. |
| Cash Payment |
Check this option to allow you to check-out product without having to
setup any payment gateway. |
| Active |
Make sure this option is checked. |