Your online store needs to 'talk' to your visitors. You want your reminders, your messages, your labels, and even your errors to carry the personality that goes along with your brand identity.
Within AspDotNetStorefront, 'prompts' are used to generate much of the text that can be viewed on the front end of the site (and, incidentally, also in the admin console). You can use these prompts to make a very real difference - for example the 'out of box' account creation page is shown on the left. The right hand version has had prompts changed:
These prompts are stored in your database. They are uploaded from an Excel file or CSV file, giving you complete control, and without needing any developer skills.
From theContentmenu, clickManagePrompts.
Editing Prompts
Use the Filters at the top of the page to locate a prompt to edit. You can enter search terms in the Name (ex: signin.aspx.11) and/or Value (example: "Please enter your e-mail address") fields. You can also choose a Locale and/or Store from the available dropdown menus, and filter by prompts that have already been Modified.
Many prompts are named based on the page the prompt is displayed on. If you would like to change a text prompt that displays on the front-end Create Account page (createaccount.aspx), try typing 'createaccount' into the name field in your filter.
From the grid at the bottom of the page, click the prompt Name to edit the prompt.
In the Value field, type the new prompt, and click Save.
Adding Prompts
New prompts can be added to the store from the admin console. Be aware that in order for the string to be displayed, the site's page where you wish the string to be displayed will have to be modified to 'call' that string.
From the top of the Prompts page, click Create Prompt.
Enter the new prompt's Name, Value, Locale and Store settings, then click Save.
The Name field is how the prompt is referred to from within the skin or code files. The Value field is the actual content of the prompt, that will be visible on the store.
Reload from Excel file on Server
It may become necessary during the setup/maintenance of your site to reload the entire prompt list. You may want to reset prompts to the default, or you may be installing a new locale (language) etc. This option allows administrators to change many prompts at once instead of editing individually as explained above. The prompts are pulled from files in the /StringResources folder on the server where the software is installed. The spreadsheet files can be either Excel files (97-2003 format) or CSV files, and should be named strings.en-US.xls or strings.en-US.csv ('en-US' can be replaced by other locale codes for multi-language sites).
From the Prompts page, click Reload from Excel file on Server, then then choose the locale you want to reload strings for:
Check the boxes for Replace Existing, and/or Leave my modified prompts, then click Reload Review.
Replace Existing: If checked, the software will overwrite existing prompts. Use this option if you are importing a new file that contains some old prompts as well as new prompts and you want to replace them all.
Leave my modified prompts: If checked, the software will leave any prompts which have been modified in their current, modified state. Modified prompts will not be overwritten.
The next screen will show a preview of the changes which are going to be made. The status column will indicate whether a prompt will be imported. Click Begin Reload Processing to start the import. This may take some time to process, a status screen will display once the process is complete.
Note that if your site has 2 files with the same name other than extension (for example, strings.en-US.xls and strings.en-US.csv), both files will be loaded, with the CSV file going first. This means that if any prompts exist in both files, the ones in the Excel file will 'win', overwriting those in the CSV.
Note also that if your string resource file includes (or you want to insert) international characters, you must save the string resource file as an XLS file -- not a CSV file; otherwise, Excel will replace all international characters with question marks.
Reload from an Excel file on your PC
This allows you to upload a string file from the local PC you're working on instead of using one already loaded on the server.
The steps are the same as for reloading from the server (see above), except that you must specify the file to be uploaded first.
From the Prompts page, click Reload from Excel file on your PC, then then choose the locale you want to reload strings for:
Click Browse to upload an Excel or CSV file from your PC. Check the boxes for Replace Existing and/or Leave my modified prompts if desired. Click Upload to review and start the import.