# Define the site-specific information
#
Variable    SERVER_NAME     __MVC_SERVERNAME__
Variable    CGI_URL         __MVC_CGIURL__
Variable    SECURE_SERVER   http://__MVC_SERVERNAME__
Variable    ORDERS_TO       __MVC_MAILORDERTO__
Variable    IMAGE_DIR       __MVC_IMAGEURL__

Variable    COMPANY         __MVC_COMPANY__
Variable    ADDRESS         __MVC_ADDRESS__
Variable    CITY            __MVC_CITY__
Variable    PHONE           __MVC_PHONE__
Variable    TOLLFREE        __MVC_TOLLFREE__
Variable    FAX             __MVC_FAX__
Variable    LOGO            __MVC_LOGO__
Variable    BODY            __MVC_BODY__
Variable    ENCRYPTOR       __MVC_ENCRYPTOR__
Variable    TAXAREA         __MVC_TAXAREA__
Variable    TAXRATE         __MVC_TAXRATE__
Variable    TAXSHIPPING     __MVC_TAXSHIPPING__

ParseVariables Yes
MailOrderTo             __ORDERS_TO__
VendURL                 http://__SERVER_NAME____CGI_URL__
SecureURL               __SECURE_SERVER____CGI_URL__

## Whether to encrypt passwords in UserDB
UserDB    default    crypt         0

## Change a field to something that doesn't conflict in MySQL
UserDB    default    time_field    mod_time

ScratchDefault   mv_add_dot_html   1
ScratchDefault   mv_no_session_id  1
ScratchDefault   mv_no_count       1
ValuesDefault    mv_shipmode       upsg

# Sets Minivend to not parse <BODY MV="body 1"> and other tags within
# HTML tags, use [pragma no_html_parse 0] to enable on a page
Pragma          no_html_parse

Database            country         country.txt       TAB
Database            inventory       inventory.txt     TAB
Database            orderline       orderline.txt     TAB
Database            products        products.txt      TAB
Database            transactions    transactions.txt  TAB
Database            userdb          userdb.txt        TAB

# Needed for UPS lookup
Database            2ndDayAir       2ndDayAir.csv     CSV
Database            Ground          Ground.csv        CSV
Database            NextDayAir      NextDayAir.csv    CSV

Variable            MINIMATE_META   mv_metadata
Variable            MINIMATE_TABLE  minimate
Database            minimate        minimate.asc      TAB
Database            mv_metadata     mv_metadata.asc   TAB

AlwaysSecure         checkout
AsciiTrack           etc/tracking.asc
PriceField           price
EncryptProgram       __ENCRYPTOR__

ImageDir         __IMAGE_DIR__/
ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/

# Uncomment only if you have these locales on your system
#Locale          de_DE
#Locale          de_DE LC_CTYPE de_DE
#Locale          fr_FR
#Locale          en_US

Locale          en_US LC_CTYPE C
Locale          en_US currency_symbol     $
Locale          en_US mon_decimal_point   .
Locale          en_US mon_thousands_sep   ,
Locale          en_US p_cs_precedes       1


Onfly           onfly
OrderCounter    etc/order.number
OrderProfile    etc/profiles.order etc/profiles.login

OrderLineLimit  25
RobotLimit       50

RemoteUser      __MVC_SUPERUSER__
Password        __MVC_SUPASSWD__

ReadPermission  group
WritePermission group

SalesTax         state
SeparateItems    Yes
SpecialPage          flypage        flypage
SpecialPage          catalog        index
SpecialPage          checkout       checkout
SpecialPage          order          basket
SpecialPage          search         results
SpecialPage          results        results
SpecialPage          receipt        ../etc/receipt

TaxShipping   __TAXSHIPPING__
UpsZoneFile   products/450.csv
UseModifier   size color

# Here you can set up fatal errors if a necessary sub or usertag
# doesn't exist, uncomment one of next lines to test
Require usertag   email
Require usertag   reconfig
