# Perl Support File
# WebStore Order Form Variables
# Variables used by all scripts: /Web_store/ws_global.setup
# File Permissions: 644 -rw-r--r--
# NOTE: If you change the filename of this file, change the value of
# $pre_form_file in outlet.setup to reflect the file's new name.
############################################################################
# Pre.OrderForm.setup #
#==========================================================================#
# Copyright (c) 1996 - 2003, RDC Software #
# WebStore@ratite.com http://www.ratite.com/Perl/WebStore.shtml #
# Version: 4.16.00 Date: 01/01/2003 #
# #
# Full copyright notice can be found in the following files for the #
# listed license type: #
# #
# Single User License: /Docs/Copyright_SingleUser.html #
# Server License: /Docs/Copyright_Server.html #
# #
# This copyright notification can not be altered or removed from this file.#
#==========================================================================#
# Backslash all @ signs --> \@ <-- Perl 5 compatibility. #
# Variables containing @ signs must be enclosed in " (double quotes). #
# #
# All other variables are enclosed in ' (single quotes). #
# #
# If the value you store in a variable enclosed in single quotes requires #
# the use of a single quote, backslash the imbedded single quote. #
############################################################################
#--------------------------------------------------------------------------#
# Order Form: Preliminary Form Input
#--------------------------------------------------------------------------#
# Determine the use of frames to set table widths in $PreOrderForm{0}.
# $frameset_file is defined in outlet.setup.
# Using frames in WebStore environment
if ($frameset_file) {
# 95% for vertical frames, 575 for horizontal frames
$Form0_4 = '95%'; # Table width: Page header
$Form0_5 = '520'; # Table width: Section headers
}
# Not using frames or prior to entering WebStore environment
else {
$Form0_4 = '575'; # Table width: Page header
$Form0_5 = '520'; # Table width: Section headers
}
# The form defined in %PreOrderForm is used to determine the client's sales tax
# liability, shipping method preference, etc.
# WebStore bypasses the form defined in %PreOrderForm when going to the order
# form when the values requested by this form were previously determined during
# client verification and only one order form is defined in %form_files in
# outlet.setup.
%PreOrderForm = (
# Field 0: Form Page Header
'0' => ['', '',
# Comments below page header
'', '',
$Form0_4, # Table width: Page header
$Form0_5, # Table width: Section headers
'325'], # Table width: Form fields (decimal only)
'11' => ['form_file', 'Payment Method', 'select', ''],
'12C' => [],
'13' => ['province', 'Billing Province', 'select', '', 'Canada only'],
'14' => ['state', 'Billing State', 'select', '', 'US citizens only'],
'15' => ['country', 'Billing Country', 'select', 'SELECTED~319', 'R'],
'50C' => [],
'51C' => ['left',
'
Shipping Address:
Please enter your shipping state and country if different
than the billing state and country.
'],
'52' => ['shpProvince', 'Shipping Province', 'select', '', 'Canada only'],
'53' => ['shpState', 'Shipping State', 'select', '', 'United States only'],
'54' => ['shpCountry', 'Shipping Country', 'select', ''],
'54C' => [],
'91S' => ['center',
'
'
],
); # DO NOT REMOVE - terminates %PreOrderForm
# Delete the form selection array and it's spacing array from %PreOrderForm
# when only one order form is defined in %form_files in outlet.setup.
if (!$form_files) { delete $PreOrderForm{11}; delete $PreOrderForm{'12C'}; }
# @opt_shipping is a list of the KEYS in %PreOrderForm which correspond to the
# optionally required shipping fields. If any field listed in @opt_shipping
# is completed by the client, all fields listed in @opt_shipping must be
# completed.
@opt_shipping = ('52', '53', '54');
# Section header rows (xxH) are printed using one of the following color
# combinations for the row's background color and font color.
# Setting $header_colors = '0' uses $header_bkg_clr for the row's
# background color and $header_fnt_clr for the row's font color.
# Setting $header_colors = '1' uses $dsc_hr_bkg_clr for the row's
# background color and $dsc_hr_fnt_clr for the row's font color.
# Setting $header_colors = '2' uses $data_bkg_clr for the row's
# background color and $data_fnt_clr for the row's font color.
# Setting $header_colors = '3' uses $modify_bkg_clr for the row's
# background color and $modify_fnt_clr for the row's font color.
# Setting $header_colors = '' disables header background color and
# header font color. Colors default to