Chapter 7 - ViaJCart Customization with
JSCStrings.ini file
You can totally customize ViaJCart to your liking or translate
it to another language by modifying JSCStrings.ini file. This file is
located in the same directory as .class files.
The first 8 lines have a special process associated with them. The rest of the file
contains regular character strings.
You can only replace strings in this file.
Important:
You can NOT add, remove, or insert new lines into this file. Every
character string must be on specific line. The length of the string can be
different. Make sure it will fit into the screen correctly though.
Example: Part of the
standard JSCStrings.ini file:
700;200;0;0;200
126070Loading...;126010Please Wait...
056010Convenient,;056010Secure,;096010Fun;126010way to shop.
056010We have Large selection
095010of various products that you need.
126010One stop shopping.
058010Thank you
057010for your patience.
Divisor=.
Secure Encrypted Transaction Processing (OTP)
Please make a menu selection at the top of Shopping Cart Applet
No Topic Selected. Please make your menu selection at the top of this screen.
Current Menu Selection
Item No
Description
Double Click to View More...
Price
Cart Total:
Your Shopping Cart Message
YOUR SHOPPING CART IS EMPTY
.
.
.
Load/Wait
messages

When you click on the start button ViaJCart
opens windows and displays messages while customer waits for the cart to load. You can totally customize these messages. The first 8 lines define
these messages.
The first line defines the size and color of the window.
Format:
Width;Height;Red;Green;Blue
Width is the width of the window in pixels,
Height is the height of the window in pixels, and Red, Green, and Blue specify a
background color.
Example: 500;300;0;0;0
Black background size of 500x300.
Next seven lines define character string messages in the
following format:
CCSSTTString;CCSSTTString;CCSSTTString;CCSSTTString
CCSSTTString;CCSSTTString;CCSSTTString
Each message is separated by ;.
You can have up to 200 total messages (up to 50 on each line).
The first six characters specify control information and the rest of the line is a
character string itself.
Line Format: CCSSTTString... or * if you want to bypass this line. The * character
is used as a placeholder here.
CC - Two positions
for color: Choose from 30 preset colors.
Click here for your color
choices
SS - Size of
characters
Example: 12 or 14 for regular size and
24 or 30 for large. The best thing to experiment and see what happens.
TT - Time interval
between next message in tenth of a second.
Example:
50 means 5 seconds
99 means 9.9 seconds - this is the maximum that you can have
10 one second
05 half second
01 one tenth of a second - the smallest value
String is any string that will fit into a window.
Next line Defines Divisor character. In United States it is . In many
places in Europe it is a , . Some countries use
the whole numbers.
Format of line 9: Divisor=character
Example to produce 50.34
Divisor=.
Example to produce 50,34
Divisor=,
Example to use the whole number without
decimal line 12345
Divisor=0
Adding your own copyright message
to an existing VSSD Copyright statements when "About" button is
clicked:
Now you can add your own copyright message to the About dialog window. To do
this simply replace line
"This cart designed by VSSD. Copyright (c) 1999"
in JSCStrings.ini file with your own. You can find this line towards end
of the file.
The rest of the JSCStrings.ini file contains regular character strings.

next
Chapter 1 - Installation
Chapter 2 - JSC.ini control
file
Chapter 3 - Menu file creation
Chapter 4 - Catalog files
Chapter 5 - Checking out
process
Chapter 6 - Order;
Encryption/Decryption process
Chapter 7 - ViaJcart
Customization with JSCStrings.ini
Chapter 8 - Audio Setup
Chapter 9 - Real-Time Credit
Card Processing
Chapter 10 - Troubleshooting
Chapter 11 - Upgrade From
1.x to 2.x


Copyright © 1996-2000 Vilgorin Software Systems Development.
All Rights Reserved.
|