⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo.pl

📁 CyberCart Pro Internet Commerce System 3.042 很好的商业购物程序.Good Shopping Cart, Can be used for Multipl
💻 PL
📖 第 1 页 / 共 2 页
字号:
# Shipping Method 3
# For a table based on the total cost.
# Associative array containing ranges, and the cost of shipping for each of
# the ranges.
# $shipping_cost = "table";
# %ship_table=("1-20","3.00","20-50","4.50","60-100","6.00","100-300","10.00","300-1000","15.00");
# $show_table = qq[
#  1 -  19.99 	\$ 3.00
# 20 -  49.99	\$ 4.50
# 50 -  99.99	\$ 6.00
#100 - 299.99	\$10.00
#300+		\$15.00
#];


# $world_shipping_cost = "table";
# %world_ship_table =("1-20","13.00","20-50","14.50","60-100","16.00","100-300","20.00","300-1000","25.00");
#$world_show_table = qq[
#  1 -  19.99    \$13.00
# 20 -  49.99    \$14.50
# 50 -  99.99    \$16.00
#100 - 299.99    \$20.00
#300+            \$25.00
#];
#
#
# ==================================================================
# Shipping Method 4
# For a table based on the total weight. If you use this method, each item
# must contain a hidden form variable for weight,
# <input type=hidden name=id_weight value=itemweight>
# $shipping_cost = "weight";
# %ship_table=("1-2","2.00","2-4","4.00",4-10","6.00","10-20","8.00");
# $world_shipping_cost = "weight";
# %world_ship_table=("1-2","2.00","2-4","4.00",4-10","6.00","10-20","8.00");
# Measurement units weight is given in if using weight to calculate shipping.
# $weight="lbs";
# 
# ==================================================================
# Shipping Method 5
# For a table based on the number of items ordered.
# $shipping_cost = "items";
# %ship_table=("1-2","3.00","3-4","4.00","5-6","6.00","7-10","10.00");
# $world_shipping_cost = "items";
# %world_ship_table=("1-2","2.00","2-4","4.00",4-10","6.00","10-20","8.00");
#
# ==================================================================
# Shipping Method 6
# To use UPS and USPS actual shipping rates from within the United States.
# $shipping_cost = "actual";
# $world_shipping_cost = "actual";
# Set the weight units - this must be set for weight to show up on the order forms
# $weight = "lbs";
#
# If using actual, uncomment and set the variables = 1 for the services
# used by merchant
# $upsground=1; # UPS Commercial Ground
# $ups2day=1; # UPS 2 Day Air
# $ups2dayam=1; # UPS 2 Day Air AM
# $ups1day=1; # UPS Next Day Air
# $ups1daysav=1; # UPS Next Day Air Saver
# $ups3daysel=1; # UPS 3 day Select
# $usps_express=1; # USPS Express Mail
# $usps_priority=1; # USPS Priority Mail
# $usps_mparcel=1; # USPS Machinable Parcel
# $usps_nmparcel=1; # USPS Non-Machinable Parcel
#
# Merchant zip code for determining domestic shipping rates
# $merchantzip = "87106";
#
# Merchant State for determining world UPS shipping rates
# $merchantstate = "NM";
#
# Path of appropriate shipping zone chart.  The zone chart is based
# on the first three digits of the *merchants* zip code that the order
# is being shipped from.
# $zone_chart = "c:\\merchant\\Shipping\\Zones\\870.csv";
#
# ==================================================================
# Shipping Method 7
# Special per item shipping cost.  If the shipping cost varies by
# item, you can set the shipping charge individually.  On the html
# pages, you must include an additional hidden form variable
# called item_ship.  See the pages.html for more instructions.
# 
# $shipping_cost = "per_item";
# 
# ==================================================================
# Shipping Method 8
# Custom shipping table for international orders.  Special tables 
# must be created to use this method - see specialship.html for more
# information.
# 
# Tables can be constructed to determine rate by either weight or
# number of items. 
# Special shipping by weight
# $shipping_cost = "special_weight";
# $shipping_cost = "special_items";
# $world_shipping_cost = "special_weight";
# $world_shipping_cost = "special_items";
#
# Path name of the special zone chart.
# $special_zone = "c:\\merchant\\Shipping\\State_Zone.txt";
# $world_special_zone = "c:\\merchant\\Shipping\\Country_Zone.txt";
#
# Path name of the special rate chart.
# $special_rate = "c:\\merchant\\Shipping\\State_Rate.txt";
# $world_special_rate = "c:\\merchant\\Shipping\\Country_Rate.txt";
#
# Name for the shipping method to be displayed on orderform
# $special_name = "Demo Shipping Charges";
#
# Max item or weight.  The upper limit of the custom charts.
# $max_item_rate = 23;
#
# Item or weight increment above the $max_item_rate.
# $item_inc = 5;
#
# Rate per item or unit weight above the $max_item_rate.
# @add_item = (0,0,3.5,5.5,7.5,9.0);
#
# ==================================================================
# Shipping Method 9 - NO SHIPPING COST
# No shipping option. If the price includes shipping, set shipping to none.
# $shipping_cost = "none";
#
# ==================================================================
#
# Set this to 1 for no International Orders
# $no_world_shipping = 1;
#
# Set to the minimum shipping cost.  Shipping cost will be set to this minimum
# if calculated shipping is less.
# $min_shipping = 2.00;
#
# Set the maximum shipping cost.
# $max_shipping = 12.00;
#
####################################################################
#
# Handling costs. 
#
# If there is additional cost for handling, indicate one of
# the following options:
# For handling charge for whole order:
# $handling_order = 2;
#
# For handling charge for EACH ITEM:
# $handling_item = 1;
#
# Per item handling.  A special form variable must be included for each item.
# $handling_special = 1;
#
####################################################################
#
# Discounts Variables.
#
# To apply a discount for all items, or a discount if you order a 
# certain amount, set this variable to one of the following:
# [fixed_table,percent_table, percent, none].
#
$discount = "none";
#
# Fixed_table discount. Set a range of total amount ordered, and the amount of
# the discount.
# $discount = "fixed_table";
# %discount_table = ("0-20",0,"20-50","5.00","50-100","10.00");
#
# Percent_table discount. Set a range of total amount ordered, and the percentage
# discount:
# $discount = "percent_table";
# %discount_table = ("0-10",0,"10-20",".05","20-100",".10","100-500",".15");
#
# Percent. Straight percent of total.
# $discount = "percent";
# $discount_percent = ".10";
#
#
####################################################################
# Special Options:
# 
# Required fields.  List of required fields.  Options are:
# Name, Street, City, State, Zip, Country, Phone, Email
@required = ("Name","Street","City","State","Zip","Country","Email");
#
# Special Selections.  These are options that are added onto the 
# billing form.  If there are cost associated with them, they will be
# listed in a separate entry on the invoice form.
# The format is:
# $special_selection{'Name'} = "form element | text | additional cost";
# The additional cost will be added to the total amount and shown in
# form as its own entry. The name of the form variable must be the
# same as the key in the $special_selections.  For example, to add cod:
#
# $special_selections{'COD'} = "<input type=checkbox name=COD>|Send by COD|4.95";
#
# Additional Fields. 
# Use to include additional fields in the form.  Note that the name
# of the hash has to be the same as the "name" of the form element.
# Separate the title and form tag with the '|' character.
# $additional_fields{'Work Number'} = "Work Number|<input name=\"Work Number\" size=20 maxsize=20>";
#
#
# Minimum total order amount.  Set this to the minimum order amount.  Customer will
# get a warning if their order is less than this minimum amount.
# $min_total = 10;

# Set $no_gift_message to "1" to suppress print of gift textarea.
# $no_gift_message = 1;

# Set $no_billing_address to "1" to suppress printing of separate billing address option
# $no_billing_address = 1;

# Supress the decimal point in the currency displayed
# $no_decimal = 1;

####################################################################
# Onanalysis for real-time credit card processing
# See th instruction manual and Online Analysis' Web Site for 
# complete instructions on using Online Analysis Gateway.
# 
# Enables 
# $onanalysis = 1;
#
# Vendor ID assigned by Online Analysis
# $vendor_id = "Demo";
#
# Vendor Password assigned by Online Analysis
# $oa_password = "analyze";
#
# $transaction_type = "C6";
#
# Transaction log location
# $oa_log_file = $home_dir . "\\Logs\\oalog.dat";
#
# onanalysis script references which you get from onanalysis
# $oa_ref = "/socketlink/demotest.cgi";
#
#############################################################
#
# Download enable
# Each file must be kept in the Files subdirectory of the
# merchant's root directory.  Each item must also have a
# code_dlfile hidden form variable.
#
# There are three methods of download:
# $dl_type = 1 : A list of files will be shown immediately
# after customer completes the order.  Least secure.
# $dl_type = 2 : An email message is sent to the customer
# with the download authorization code.
# $dl_type = 3 : An email message is sent to the merchant
# with the download authorization code which can then be
# forwarded to the customer after payment processing.
# $dl_type = 2;
#
# URL for the CyberCart Download script
$dl_url = "http://www.name.com/cgi-bin/ccdown.pl";
#
# URL for the Web Page interface where customers can
# enter their download authorization code.
$dl_page = "http://www.name.com/ccdown.html";
#
# Location of the files to be downloaded.  This should be a file 
# outside the root directory.
$dl_files = $home_dir . "/Files/";
#
# The merchant_id
$merchant_name = "Demo";
#
####################################################################
#
# Copyright 1997, Richard Torzynski
#
####################################################################

return 1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -