Ecommerce Templates > ASP Version Help > Parameters for the includes.asp page

ASP Parameters

In the vsadmin folder there's a file called includes.asp - this is where you can specify some important tweaks regarding mail, shipping, display etc. You can add any of the variables below to the page includes.asp - the order of the list is not important but make sure there are no duplicates. Additions since the previous version (6.6) will appear in orange.

Display options

Shipping / tax options

Admin tweaks

Payment options

Layout options

Email options

Customer login

Customer reviews

Image tweaks

Affiliate options

Discount options

Gift certificates

Gift registry / wish lists

Tabbed panels

Email options

Email a friend

You can add the option of emailing a friend from your product detail page - this adds a link to a pop-up window with a form that you can fill out to forward the information regarding a product to a friend. If you wish to use this feature set the parameter like this useemailfriend=true - if you would like to disable the feature then you need useemailfriend=false

From Version 6.6. this can be used in conjunction with the social media features.

HTML email

Emails can be sent in HTML format if you wish by adding the following switch


Email orders

If you need to set email orders as Authorized in your admin orders page, set

Please note that if you use a value less than 3 then the orders are not authorized your cart will not clear after purchase.

An order status below 3 is not considered "completed". If this isn't what is needed, then it is better to make a new order status like "Received email order" and assign the emailorderstatus to that new status id. That way the order will be "completed".

Order status email always on

Using the setting


will mean that the checkbox for "email order status change" is always set by default.

Collect email addresses

Customers are asked on checkout if they would be willing to receive promotional emails and if so their email is added to the database for you to use with your mailshots.
If the following is set in the vsadmin/includes.asp file then by default the box will be checked.


Remove mailing list checkbox

Set this in vsadmin/includes.asp


to remove the mailing list checkbox.

Stop email confirmation for mailing list

Setting this in vsadmin/includes.asp


will stop the email a customer receives to verify their mailing list sign-up. By default the customer will receive an email to verify their address and intention.

Ask a question (Minimum version 6.1.0)

If you want your customers to be able to mail you directly about a product on the detail page, set the following


If you would like that to appear in a lightbox window rather than a pop-up, add


In Version 6.5 you can add up to 9 extra questions to the Ask a Question screen like this

askquestionparam1="Extra Param1"
askquestionhtml1="<select name=""ectfield"" id=""ectfield"" size=""1""><option value="""">Please Select...</option><option value=""Test 1"">Test 1</option><option value=""Test 2"">Test 2</option></select>"

askquestionparam2="Extra Param2"
askquestionhtml2="<select name=""ectfield"" id=""ectfield"" size=""1""><option value="""">Please Select...</option><option value=""Test 1"">Test 1</option><option value=""Test 2"">Test 2</option></select>"

askquestionparam3="Extra Param3"
askquestionhtml3="<select name=""ectfield"" id=""ectfield"" size=""1""><option value="""">Please Select...</option><option value=""Test 1"">Test 1</option><option value=""Test 2"">Test 2</option></select>"

From Version 6.6. this can be used in conjunction with the social media features.

Show store name in email responses (Minimum version 6.2.4)

To set the store name used in email responses so your customers see this for instance...
Your Store Name <> use

emailfromname="Your Store Name"

Back to top

Layout options

Product listings (Maximum Version 5.9.4)

The sortBy parameters were moved to the admin main settings page in Version 6 but if you still need to set the product listing through the includes file you can use the orsortby parameter. This is handy if you want to use them on static pages with a different listing. So if you want to sort the product listing alphabetically use orsortby=1 Please note this setting also overrides the listing choices in the new product filter bar.

  1. = sorting the products alphabetically
  2. = sorting the products by id
  3. = sorting the products by price (cheapest first)
  4. = sorting the products by price (most expensive first)

So for example if you wanted to list your products alphabetically you would choose this option:
orsortby = 1 or by product id like this orsortby = 2

This will sort the products by the order the products are within the database. This is particularly useful where the sort order is not important and will result in the fastest way of displaying products.

This will sort the products in ascending order depending on the value added to the "Product Order" box in the product admin page.

This will sort the products in descending order depending on the value added to the "Product Order" box in the product admin page.

This will sort the products in ascending order depending on the date added.

This will sort the products in descending order depending on the date added.

This will sort the products randomly (Version 6.6 required).

This will sort the products in ascending order depending on the sku (Version 6.7 required)

This will sort the products in descending order depending on the sku (Version 6.7 required)

Product layout options

These are for the older table based product / category layouts. We recommend using css layouts instead







By setting useproductbody format to 2 like this useproductbodyformat=2 the products are displayed with the product options, price and buy button below the product image. When useproductbodyformat is set to 1 the product options, price and buy button are displayed to the right of the product image.

The reason we added this second layout is that it lends itself well to having more than one column of products. So, when using useproductbodyformat=2 the products will be displayed in the number of columns specified by productcolumns, such as


You can have as many as you like in theory, but just make sure they fit on your page.

Please note that with the useproductbodyformat set to 1 the productcolumns setting will be ignored.

To allow you to specify the search results independently of the general product display, you can set usesearchbodyformat to 1 or 2 in the same way.

There is also a second product detail format available now. Setting usedetailbodyformat=2 will display the product detail page with the image to the left of the product description, price, quantity and buy button.

allproductsimage="" allows you to specify an image for "All Products" and the path can be inserted here.

If you need the category text and description to the right of the image choose usecategoryformat=2

...will show the image on top of the category name on top of the category description and should be useful for multiple column category displays.

This will be a "list" like layout, and you will be able to select the columns you wish to display by setting and customizing . . .
cpdcolumns="id, image, name, description, discounts, listprice, price, priceinctax, instock, options, quantity, buy"
. . . and the column headers like for instance . . .
cpdheaders="ID, Name, description, discounts, listprice, price, Inc. Tax, In Stock, Options, Quant, "

For more information on the category, product and product detail display, please visit our layouts page.

...if you need a product detail layout similar to 2 but with the product description below the rest of the content.

Continue shopping


...or not setting anything will mean that the continue shopping button will take the URL from the xxHomeURL from the vsadmin/inc/languagefile_en.asp which is the current default. From version 6.4 the variable here is orhomeurl rather than xxHomeURL so if you wanted people to continue to products.asp enter this in includes.asp



...will make the cart "continue shopping" button return to the page you just came from when you are on the cart contents page.


...when you add something to your cart, you will refresh immediately back to the products page you came from without going to the cart contents page.


...will skip the page showing "The products have been added to your cart" when adding products to the cart.


... can be used to control the number of seconds that the message "The items has been added to your cart" is shown. If set to zero this will perform an HTTP redirect rather than a refresh.

If you need to change the continue shopping link on thanks.asp, use the following


If you need to change Home URL in the product / category breadcrumbs, use the following


Category layout

categorycolumns=1 - will give you a vertical list of categories in a single list

categorycolumns=2 - will show the categories in two columns

categorycolumns=3 - will show the categories in three columns

catseparator="" - is required to use the new category set up - no changes are necessary here

sortcategoriesalphabetically=TRUE - will sort your categories alphabetically

Dynamic menu

You can now limit the number of "popout levels" that the dynamic menus pop out to by setting the parameter


. . . where 2 in this example would limit to 2 popout levels.

Change the ">>" that precedes sub-menus (Minimum version 6.5.5)

If you want to change the display of the >> that precedes the sub menus use the following to show a "0" for example


.or to removing it completely


Product separation

You can remove the horizontal line (and the space it takes up) between products with the addition of


If you want to add a custom separation between products then use this

prodseparator="<p align=""center"">---------</p>"

Product detail static page

You can set the character of your choice that is used between the individual words of the product name which make up the product detail static page. For example if you want to separate the words with a hyphen then set

urlfillerchar="-" get a page name like this product-name.asp

Show thumbnail image in the shopping cart

If you want to show a thumbnail image in the cart of the product a customer has purchased, add this to vsadmin/includes.asp


Link the thumbnail image in the shopping cart

If you want to link the thumbnail image in the cart to its product detail page, add this to vsadmin/includes.asp


Multi-purchase columns

If you are using the multi purchase feature, you can specify the number of columns for the quantity boxes with the following setting


Change manufacturers page name

If you need to change the name of manufacturers.asp, use the following


Accessibility & validation

Version 5.6.0 saw a lot of changes to move the code to XHTML 1.0 Transitional and Section 508 (accessibility) compliance. This meant removing a very small amount of formatting from previous versions. To take advantage if this new feature you will need to add the following to vsadmin/includes.asp


Any formatting that changed can be replaced through the css file. For example these will have no formatting but can be replaced with the following addition to the css file

color: #FF0000;
font-size: 11px;

font-weight: bold;

font-weight: bold;

font-weight: bold;

List categories alphabetically

You can list categories alphabetically on the store with the following


Enable recently viewed items

To enable the recently viewed items feature, set the following


To limit the number of recently viewed items in the list...


Setting the category root

To display root categories in the css menus, set the following


Limit menu levels

To limit the number of pop-out or drop-down levels, set the following


. . . where 2 in this example would limit the hierarchy to 2 levels.

Banded prices in product filter bar (Minimum

To change the banded price thresholds in the product filter bar, set the following


. . . where 150 is the banded threshold value.

To change the default sort text labels in the product filter bar, you can use the following

sortoption1="Sort Alphabetically"
sortoption2="Sort by Product ID"
sortoption3="Sort Price (Asc.)"
sortoption4="Sort Price (Desc.)"
sortoption5="Database Order"
sortoption6="Product Order"
sortoption7="Product Order (Desc.)"
sortoption8="Date Added (Asc.)"
sortoption9="Date Added (Des.)"
sortoption10="Sort by Manufacturer"

CSS layouts for the category, product and detail pages (Minimum version 6.2.0)

To use the css based layouts for the category, product and detail pages, set the following


If you want to be able to order the elements on the product detail page, add the following to vsadmin/includes.asp, setting the order of your choice...

detailpagelayout="navigation, checkoutbutton, productimage, productid, manufacturer, sku, productname, discounts, instock, description, listprice, price, quantity, currency, dateadded, options, addtocart, previousnext, emailfriend, reviews"

In version 6.3 we added a couple more parameters to be used with the css layouts

shortdescription - this will show the short description on the detail page
custom1,custom2,custom3 - these will show show the custom fields available in the product admin page on the detail page. You will need to add these to your includes.asp for the custom fields to appear at the bottom of the product admin page.

If you want to give titles to the custom fields add the following

detailcustomlabel1="Custom Title 1 "
detailcustomlabel2="Custom Title 2 "
detailcustomlabel3="Custom Title 3 "

To add the custom field names to the product admin page use

admincustomlabel1="Custom Title 1 "
admincustomlabel2="Custom Title 2 "
admincustomlabel3="Custom Title 3 "

If you want to include the keyword tags introduced in Version 6.4 you would add this to the list searchwords

You can also add the rating stars on the detail page..

Which will display the review stars in the same way as on the product pages (6.4.4 required)

If you want to include the quantity pricing display introduced in Version 6.5 you would add this to the list quantitypricing

The date the item was added to the database can be displayed with the addition of dateadded (Version 6.5.3). If you also want to add a label next to the date use

dateaddedlabel="Product added to store"

You can add social media buttons to the product detail page css layout. You will need a minimum of Version 6.6 and add this to the list socialmedia.

For full details of how to display the social meda buttons, please visit the social media help page.

If you want to be able to order the elements on the products page (version 6.5 or above), add the following to vsadmin/includes.asp, setting the order of your choice...

productpagelayout="productimage, addtocart, productid, sku, productname, manufacturer, discounts, dateadded, reviewstars, instock, custom1, description, options, listprice, price, currency, quantity, custom2"

In Version 6.5.2 you can add, "detaillink" to the list which can be added to the productpagelayout parameter to specify the Product Detail Link. The product detail link by default will be displayed as a link, but by setting the parameter "imgdetaillink" to the path of an image will display as an image.

If you set the parameter


then an HTML button will be generated.

In Version 6.6 you can add a Quick Buy button to the products. This will display a pop up of the product information and means that the customer doesn't have to click through to the detail page to see the full details of an item. It can also appear in the cross selling items meaning that you can have this feature on your home page, cart page or wherever you like really.

To enable the feature you would add quickbuy to the productpagelayout parameter

More information can be found on our css layouts help page.

Product columns for the mobile layout (Minimum version 6.2.0)

If you need to set the number of product columns on the products pages just for mobile users and without interfering with your main site use the following


...where 1 is the number of columns you want to show on the mobile side. NOTE: This will be ignored if you are using the parameter above (usecsslayout=TRUE)

Product name in dynamic product detail page URL (Minimum version 6.2.4)

To use the product name for dynamic product detail page links instead of the product id. To do this add the parameter...


When using this parameter you can set an optional replacement character for spaces. For instance if you set...


Then the product name "My Test Product" would result in "My-Test-Product"

When using this system, all product names must be unique or it will be impossible to view some of your products. Also, when using the optional space replacement character, you cannot then use that character in product names as again it will make it impossible to find those products in the database.

Remove soft cart feature (Minimum version 6.3)

If you prefer not to use the pop up soft cart feature and continue to use the traditional cart, set the following


Please note this is the default for mobile devices where the pop up may not display correctly in smaller browser windows.

Show product name within <h1> tags on the product detail page (Minimum version 6.3)

You can choose to have the product name on the detail pages within <h1> tags. To do this add the following to vsadmin/includes.asp


Change the position of the zip / post code field on checkout (Minimum version 6.3.2)

You can change the position of the Zip / Postal Code field in the customer details portion of checkout to allow for some European countries where the zip commonly comes before other address elements. Choose from one of the following.

zipposition=1 ' (Default) Places the Zip above the Phone Number
zipposition=2 ' Places the Zip above the Country Selector
zipposition=3 ' Places the Zip above the State Selector
zipposition=4 ' Places the Zip above the City entry box.

Back to top

Payment options

Setting the path to your SSL (Retired in Version 6.6 and added to admin)

If you are using a payment provider that requires SSL then what the system is going to look by default is your website URL on an HTTPS connection, ie
If you have shared ssl space which requires a different url, or if you want to override the switch to SSL for testing purposes then you can override it like this:

pathtossl = ""
. . . or . . .
pathtossl = ""
. . . to keep it on http and not go to https

Force cart page onto https

If you want to force users onto a secure https connection when they visit the first cart screen of checkout add the following to includes.asp


Disabling SSL

Setting nochecksslserver=TRUE will disable the checking of payment systems that require an SSL server that check you are on an SSL connection.

This should not be set unless you are most certainly sure that you are on HTTPS. Our check for SSL can be fooled the way some servers set up their shared SSL certs so all this switch does is remove the warning in this case. It should NOT be used to enable yourself to view CC details on a non-SSL connection.

Force form submission

For payment processors where the credit card details are taken on an SSL connection on your site you can set the parameter:


...which will submit the form by default in 5 seconds. If you want to change that 5 second interval you can set


where the time is set in milliseconds, so the above example would result in a 5 second delay.

Add the parameter secretword to encrypt your merchant id and transaction key in the database for extra security. For example...

secretword="this is my secret word"

Please note that if you set this, you will have to reset your merchant id and transaction key in your admin payment providers page for

If you are using the AIM system you can now set the parameter


to allow for eChecks. You will need to have your account set up for accepting eChecks. AIM method can now be used with the WellsFargo SecureSource system using the setting

wellsfargo=true time adjust

Setting authnetadjust in vsadmin/includes.asp will adjust the timestamp by the given number of seconds. For instance . . .


Force CVV credit card code on checkout

For payment processors that are integrated into your own site, you can set


. . . to force the customer to enter their CVV credit card code on checkout.

Use 2Checkout's one page checkout



. . . in your vsadmin/includes.asp file to use the 2Checkout one page checkout.

Force the PayPal locale

To force the PayPal payment page locale to one of your choosing you could set...

paypallc="FR" force the default language / locale to French.

Force customers to select from the list of payment methods

To force customers to select from the list of payment methods rather than having the first one selected by default add...


Show available payment methods with radio buttons

If you want to show the available payment methods on checkout with a radio buttons vertically use...


... to show them with radio buttons horizontally use...


Add Google Analytics ecommerce code

If you want to track orders using Google Analytics add the following...


... then open your asp pages and just above the closing </body> tag add the following...

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
<% print googleanalyticstrackorderinfo%>(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);})();

If you want use Google Analytics Universal Code you will need to be running Version 6.3 and add the following to vsadmin/includes.asp


You will also need this code on thanks.asp

<script type="text/javascript">
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
<% print googleanalyticstrackorderinfo%>

Verified by Visa / Cardinal Commerce

If you are using Verified by Visa / Cardinal Commerce, you will need the following in vsadmin/includes.asp...

cardinalurl = ""

Persist in cart (Minimum version 6.0.0)

To specify how long cart items stay in the cart for non-logged in customers, you will need the following in vsadmin/includes.asp...


... where 5 is the number of days the item will remain.

Payment provider extra parameter (Minimum version 6.1.4)

If you need to specify a particular parameter for a specific payment provider you will need the following in vsadmin/includes.asp...

payprovextraparams1="<input type=""hidden"" name=""charset"" value=""UTF-8"" />"

... where 1 is the id of the payment provider (PayPal in this example).

Gift wrapping charge (Minimum version 6.2)

If you need need to turn on the gift wrapping feature, you can set the cost of gift wrapping with the following in vsadmin/includes.asp...


No price anywhere on the store (Minimum version 6.3.4)

If you need to completely strip prices from the product listings and shopping cart for use in situations where quotes can be requested by ordering for instance, set...


PayPal Order Description (Minimum version 6.6.3)

The order description sent to PayPal is limited to 127 characters which may cause item names not to be displayed by PayPal. If you prefer to show your own generic description add the following for example...

cartdescription="My Shopping Cart Items Description"

Back to top

Shipping and tax options

Adding tax to shipping and / or handling

If you need to add tax to shipping you'll need to choose taxShipping=1 - if not leave it as it is ie. taxShipping=0

Setting taxShipping=2 will add the shipping tax to the state and country tax totals.

If you need to add tax to handling you'll need to choose taxHandling=1 - if not leave it as it is ie. taxHandling=0

Setting taxHandling=2 will add the handling tax to the state and country tax totals.

Add a handling charge which is a percentage of the cart total + shipping + handling. For instance you could set .

Removing the shipping address



to cause a shipping address entry section not to be shown on the checkout page if set.

Will pick up option


willpickuptext="Will Pickup"

If you want to allow your customers the option of picking up their purchase from your physical location. The text here can be changed as necessary.



To set the cost of picking up from your location. Set to zero if there is no charge.

On Canadian based stores the home state tax rate will need to be set as well with the parameter...


...where 8 is the percentage of the local province tax rate.

To remove the handling charge (Minimum version 6.1.4) for Will Pick Up orders use


Show tax inclusive prices

To show tax exclusive price followed by the inclusive price on the products page use showtaxinclusive=1 - the wording for the tax can be changed in vsadmin/inc/languagefile_en.asp.

From version 5.4 to only show tax inclusive price, set


From version 6.3 if the tax is already assumed to be included in the product price, set


UPS Options

The way that you deliver your packages to UPS for delivery can affect the total cost of delivering the package. We have set the default as "Customer Counter", though you can change this by setting the following in your vsadmin/includes.asp file . . .


The code in quotes there would be taken from the following table...

01 - Daily Pickup
03 - Customer Counter
06 - One Time Pickup
07 - On Call Air
19 - Letter Center
20 - Air Service Center

Remember to enclose the code above in double quotes. Also, please note that these options are not exactly the same as you might find on the UPS web site but we hear that is something that UPS are working on...more information

The signature options available for UPS are...

To add UPS shipping insurance based on the product value, but not ask the customer...

To ask the customer if they would like shipping insurance on the checkout form...

Commercial location

Set the following in vsadmin/includes.asp ...


...if you want to place a question and checkbox on checkout for shipping to a commercial location. This is automatically set for UPS but can be used for other shipping methods.

In version 6.2 you can set the following


if you want the default set to "on" instead of defaulting to "off". That will still give the customer the opportunity to set it to residential, and will not set to commercial if on a previous order they set residential.

Shipping insurance

Shipping insurance can now be added to more shipping types than just UPS shipping. If using UPS shipping, then adding


to your includes.asp file will calculate shipping costs with insurance. If using UPS shipping then add


will ask the user if they would like shipping insurance, and if so add it to the shipping cost.

With shipping types other than UPS, you have to also set an amount, shipinsuranceamt
for instance...
If addshippinginsurance=1 then in this example 5% of the product price total will be added to the shipping cost for insurance.
If addshippinginsurance=2 then in this example 5% of the product price total will be added to the shipping cost for insurance IF the user checks the "yes I want shipping insurance" box on checkout.
If addshippinginsurance=-1 then in this example 5.00 (of your monetary units, say Dollars) will be added to the shipping cost for insurance.
If addshippinginsurance=-2 then in this example 5.00 (of your monetary units, say Dollars) will be added to the shipping cost for insurance IF the user checks the "yes I want shipping insurance" box on checkout.

For Canada Post you have to set insurance in your Canada Post shipping profile.

For USPS add the following


in conjunction with addshippinginsurance=1 or addshippinginsurance=2 from above.

If you need to force customers to select a Yes or No for shipping insurance, add the following


This helps with problems where the customer claims they were not aware shipping insurance was available. If the customer chooses not to have shipping insurance this is indicated in the customer email.

Invoices / packing slips (Retired in Version 6.6 and added to admin)

invoiceheader="<img src='images/logo.gif' border='0'><br><br>"

...this will print your logo at the top of the invoice. Obviously you will need to upload the logo to your images folder and set the path / name correctly.

invoiceaddress="<br><b></b><br>My Address<br>MyTown, 90210<br>California<br><br>"

... this will print your address on the invoice. As you can see it is possible to use HTML for formatting.

invoicefooter="<br><br><font size='1'>Thank you for shopping with</font>"

..will print the footer information you need to include. Again HTML can be used for formatting

Packing slip headers and footers (Retired in Version 6.6 and added to admin)

These settings are available for packing slips, mirroring the invoice versions to provide separate headers for the packing slip. HTML can be used as in the invoice examples above.

packingslipaddress="packing slip address"
packingslipheader="packing slip header"
packingslipfooter="packing slip footer"

Packing slip list order

If you need to sort the items on the packing list by the product id or product name, use the following in includes.asp...


These parameters were added in Version 6.1.4 to allow for sorting of the products in an order along with the invoice and packing slip

packingslipsort="cartprodid DESC"

Canadian Tax

Support for the Canadian PST / GST / HST tax system, including the Price Edward Island and Quebec systems of adding the provincial tax to the product total + government tax. This feature is automatically set when you choose Canada in the main admin settings of the control panel.

Split heavy packages

Adding the parameter splitpackat when using UPS or USPS shipping will split heavy packages into multiple packages. For instance...


Split large packages

By default large packages are split so a rate will be returned. If you need to turn off that feature, you will need the following...


Canada Post

To place Canada Post in test mode on the testing server, please use the following parameter


Per product tax rate

To set a tax rate per product add this and a tax rate box will appear in the product admin page...


Shipping estimator

To place a shipping estimator on the cart page before checkout use


There is also this parameter you can set if you are using a shipping method like weight based or price based shipping where the ship state is necessary . . .


Please note, this is not necessary for UPS / USPS / Canada Post shipping as it is the zip / postal code that is used.

This switch is available to not set a default zip (postal) code for the shipping estimator . . .


To remove the estimated number of days for delivery displayed. . .


Radio buttons to replace drop down choices

If you would like to present the available shipping options as radio buttons rather than the default drop down choices then set the following . . .


Combine shipping and handling

Shipping and handling can be combined with the switch . . .


Default shipping tracking

This allows selection of the default shipping carrier on the tracking page. The choices are "ups", "usps" and "fedex". For instance...


If you need to offer a choice of carriers for tracking, add the following


If you want the tracking link on orderstatus.asp to go to your tracking.asp page rather than the carrier web site for tracking details set the following (Version 6.6 required).


Removing FedEx discounted rates

If you receive discount rates from FedEx, this setting will give the customer the full default rate


FedEx delivery options

These services are available for FedEx shipping
Presents customer with Saturday Delivery option
envelope, pak, box, tube, 10kgbox, 25kgbox
Declares which payment option is used for Cash On Delivery
none indirect direct adult
Allows customer to select Signature Release as an option
Calculates rates based on an inside pickup (freight only)
Packages will not be rated as if they are shipped on a weekend (6.5.3 required)

The C.O.D. / Saturday Delivery / Signature (direct, adult) / Packaging switches will also work with UPS.

FedEx SmartPost (Minimum version 6.1.0)

These are the parameters associated with FedEx SmartPost

smartpostancendorsement = "CARRIER_LEAVE_IF_NO_RESPONSE"

USPS container types

If you need to specify container types for USPS shipping then you'll need the following addition

uspsprioritycontainer="flat rate box"

available options for priorirty mail: flat rate envelope / flat rate box / lg flat rate box

uspsexpresscontainer="flat rate envelope"

To make the system use whatever flat rate box fits rather than having to specify container types explicitly, use the following...(Version 5.8 minimum)


Use domestic shipping

If you need to force the USA and Canada to both use the "domestic" shipping method rather than the international shipping method you have setup in admin, set the following


Automatically copy the billing address to the shipping address.

If you want to automatically copy the billing address to the shipping address if a shipping address is not entered, set the following


Optionally hide the shipping portion of the address on checkout. (retired in Version 6.3)

If you want to optionally hide the shipping portion of the address on checkout unless the customer clicks to say it is different from the billing address, set the following


Force the state selector in the shipping estimator.

If you want to force the state selector in the shipping estimator, set the following


Set the initial box weight. (Minimum version 6.0.3)

If you want to set the initial weight of your shipping box / packaging, set the following


Show USA States and Canadian Provinces for use in the admin zones page. (Minimum version 6.2.0)

If you want to need to set State / Province zones for both countries when using weight or price based shipping, set the following


Discount online shipping rates. (Minimum version 6.3)

If you want to set percentage discounts / increments per shipping carrier use the parameters...


...where -10 will discount the online shipping rate by 10% and 5 will increment the online shipping rate by 5%.

Zero tax display (Minimum version 6.6)

If an item is tax exempt and you need to show the zero tax display rather than the default which is no display at all, add the following...


Back to top

Display options

Product page display numbers

To display the product page number links at the top of the page as well as the bottom set


Removing buy and checkout buttons

You can simply eliminate the buy and checkout buttons as well as the price for all products, this is done by choosing

nobuyorcheckout=true and noprice=true

Remove top navigation

If you need to remove the top navigation ie. home >> category >> product then set


Terms and Conditions

If you need to make your customers agree to your terms and conditions on checkout, set


You will also need to create a page with your terms and conditions called termsandconditions.asp ...which will be shown in a 420 x 380 popup.

Quantity boxes

Setting the following to TRUE will put up a quantity box on the products and the product details page (not available if using usedetailbodyformat=2):


Add clickable buttons to Quantity boxes (Minimum version 6.2.4)

To use clickable graphics to raise / lower the quantity of a product to add to cart add this parameter to the vsadmin/includes.asp file...


Graphics for the up / down buttons are available in the updater images folder.

Zero price

If you set this, for instance...

pricezeromessage="<b>Price: Please call</b>"

...then in the case where a price is set to zero, this message will be printed instead. If the pricezeromessage is not set then products with a zero price will be displayed as Price: $0.00 as usual.

Show product id


...will cause the product id to display on the product pages. The text "Product ID" is from the vsadmin/inc/languagefile_en.asp as xxPrId

Hide product options


...this will hide all the product options on the products page.

Extra checkout fields

It is possible to add two new fields to your cart checkout page. The extraorderfield1 will go at the top of the billing and shipping form and the extraordefield2 at the bottom of the billing and shipping form.

extraorderfield1="Company Name"

- adds a company name field to the top of your cart checkout page, the text can be edited here for other uses.


- will make this field obligatory, setting to false will make it optional

extraorderfield2="Another Field"

- will add an additional field to the bottom of the cart checkout page, obviously the text will need editing here.


- will make this field obligatory, setting to false will make it optional

There are 2 other "checkout" parameters which will appear in the "Miscellaneous" section, following the additional information field. You can use these in the following way...

extracheckoutfield1="Checkout Field"
extracheckoutfield2="2nd Checkout Field"

To make these required use...


There is also a parameter to switch the control and the text which can be useful if you are using a checkbox or similar small control. To do that just add...


To specify custom HTML for these just use something like this for example...

extracheckoutfield1html="<input type=""checkbox"" name=""ectfield"" value=""Yes"">"

extracheckoutfield1html="<select name=""ectfield"" size=""1""><option value=""No"">No</option><option value=""Yes"">Yes</option></select>"

Extra fields on invoices / packing slips (minimum Version 6.6.3)

If you don't want the extra checkout / order fields to appear on the printable invoice or packing slip, use the following...

Extra address line on checkout

To enable the use of an "Address Line 2" entry on the checkout form, use the following switch...

Forcing minimum purchase amount

Setting the parameter minpurchaseamount will force a minimum purchase amount. You can also set the parameter minpurchasemessage to display a message / html if the minimum purchase amount is not met. For instance...

minpurchasemessage="I'm sorry, we have a minimum purchase amount of £4.99. Please go back and <b>buy some more</b>"

Forcing minimum purchase quantity (Minimum Version 6.7)

Setting the parameter minpurchasequantity will force a minimum purchase quantity. You can also set the parameter minpurchasemessage to display a message / html if the minimum purchase qunatity is not met. For instance...

minpurchasemessage="I'm sorry, we have a minimum purchase quantity of 12. Please go back and <b>buy some more</b>"

Alternative currency format

You can have total control over the display of the currency conversions if you require. For instance use the following. . .


In each of these %s is replaced by the actual currency value. Be careful that the symbols match the currencies you have chosen on your admin main page. Of course you can place any formatting or text here.

Product detail link

Instead of having the product “details” link leading to the proddetail.asp page, you can specify your own link by adding the following (for example) to your vsadmin/includes.asp file.

detailslink="<a href=""%largeimage%"" target=""_blank"">"

Any instances of %pid% will be replaced by the product id and any instances of %largeimage% will be replaced by the the value of you have set for large image in your admin products page. This will allow you to vary the links per product.

Hide product option price difference

By setting the switch . . .


. . . you can hide the price difference in the product option drop down menus and the checkout page. Only the total price will be shown.

Remove category id from Product Detail page

Set the following switch . . .


if you don't want the category id added to the product detail page links . . .

Showing stock totals / out of stock products on the products page

Set the following switch . . .


to show the number of items in stock on your products page



if you don't want out of stock items to appear on your products page

Cross selling

This addition will show the cross selling features you want to display below the cart:

crosssellaction="recommended, related, alsobought, bestsellers"

These options are also used depending on what information you would like to display there

...will remove the buy and checkout buttons
...will remove the product options
...will remove the discounts text

If you want to change the text that introduces the cross selling features then add these to includes.asp

csrecommendedtitle="Your recommended title"
csalsoboughttitle="Your also bought title"
csrelatedtitle="Your related title"
csbestsellerstitle="Your best seller title"

If you want to limit the best seller date range to a specific number of days, use the following


... where 180 is the number of days in the range (Version 6.2.1 minimum)

To limit the number of recommended products displayed, use the following (Version 6.6 required) ...

crosssellsectionmax=9 show nine recommended products

Full set up details can be found on the cross selling help page.

Force product detail link


forcedetailslink=TRUE includes.asp will force a link to the corresponding product detail page even if there is no long description added through the product admin page.

Setting the limit of text in the short product description

If you want to limit the number of characters used on the products page for the product description then use this setting...


...where 100 is the number of characters that will be shown on the products page. This means that you can use the same description in both the long and short descriptions but the short description will be truncated at that point.

Remove the "remember me" box from checkout

If you want to remove the Remember Me feature from the checkout page then add this to vsadmin/includes.asp...


Show the SKU on the product and detail pages

If you want to show the SKU in the products and product detail pages then add this to vsadmin/includes.asp...

showproductsku="ISBN" will need to add the SKU to the product admin page.

Show the manufacturers / filters on the search page

To show a drop down and allow customers to refine the search by manufacturer, use this setting...

searchbymanufacturer="Manufacturer" will need to define the manufacturers in the attributes admin page and select them from the product admin page.

To remove the filters from the search page in Version 6.5 use


To remove the filter count use


To remove the filters but show the manufacturer drop down use .


To choose which filters to show, use


which you can set so that only the product filter groups whose ID's are in the list will be presented on the search page as search filters.

Show the manufacturer on the products page

To show the manufacturer field on the products page, add


Remove options showing in cart using product alt id

For options with an alternate product id not to be added to the cart set the following...


In Version 5.7.0 and onwards the option is no longer shown separately for the alt prod id feature but if you need that itemized, use the following.


Remove the category name and / or description

This feature is particularly useful if you are using the dynamic title / meta description tag feature as you can remove the category name and / or the category description from the publicly viewable categories page whilst entering them in the category admin page so they can be used for the dynamic title / meta description tags.

To remove the category name you will need to set the following


To remove the category description


Add buy button to the top of the product detail page

If you would like to add a buy button to the top of the product detail page so it also appears "above the fold", you will need this addition


Split the first name and last name on checkout

If you would like to split the first name and last name on checkout add this


Use the category name as a category identifier

If you would like to use the category name as a category identifier, which can be handy for search engine purposes add this


Remove the label next to the product options

If you would like to remove the label next to the product options, you would need this addition


Remove the previous and next links on the product detail page

If you would like to remove the previous / next links on the product detail page, you would need this addition


Remove the category drop down choices from the search page

If you would like to remove the category drop down choices from the search page, add the following


To do the same in the admin section...


Use the long description for the meta description tag

If you prefer to use the long description rather than the short description for the meta description tag, add the following


Notify when back in stock (Minimum version 6.0.0)

To replace the Out of Stock message with a link to notify the customer when the product or option is back in stock, add the following...


Please note that you will need to be using the stock management feature to use this.

Display the total price in product options (Minimum version 6.2.2)

If you prefer to show the full cost of the product depending on the option selected rather than the standard price difference, add the following...


Remove default text from text input options (Minimum version 6.2.4)

The default text in text input options can be automatically removed when the user clicks the option. To use this feature you just need to add this parameter to your vsadmin/includes.asp file..


MagicToolbox on products page (Minimum version 6.3)

The MagicToolbox features will appear on the product detail page but if you would also like to show them on the products.asp page, set the following...


Change "magicZoomPlus" for the image effect you are using. A full set of parameters are available on our MagicToolbox help page.

Remove the additional information field on checkout (Minimum version 6.3)

If you want to remove the additional information field on checkout, add the following...


Show linked keywords on the product detail page (Minimum version 6.4)

If you want to show the keywords entered in the product admin page on your detail page add the following...


These will be clickable and linked to the search results. If you want to remove the search box on the results page, add the following


The title above the keywords can be changed so for example if you want a title of "Search Tags", enter the following

searchwordsheading="Search Tags"

If you want to use phrases or keyword combinations you can choose what syntax to use to show the separation in the search words field of the admin...


Change default checkout button text (Minimum version 6.4.4)

If you want to change the text that appears on the checkout button you can use....


You can also have different text on the button at different stages of checkout...

xxCOTxt2="Checkout Step 2"
xxCOTxt3="Checkout Step 3"

The checkout buttons also have the class "checkoutbutton" for the first, second and third checkout steps, the classes are input.checkoutbutton1, input.checkoutbutton2 and input.checkoutbutton3 respectively. If you want to use the same class for each just use input.checkoutbutton.

Back to top

Affiliate options

Affiliates cookie

By default the affiliate cookie stays active for 30 days, this means that if somebody clicks on an affiliate link and then comes back later to purchase as long as it's within 30 days, the sales will be accredited to the affiliate partner. If you need to change this then the value here expireaffiliate=30 will have to be modified.

Affiliates commission

You can now set an affiliate percentage in the affiliates admin, and set a


to set a default commission for new affiliates

Back to top

Discount options

Remove discount / coupon feature

To remove the discount and coupon function choose


Hide discount or coupon text

To remove the discount and coupon text that appears on category and product pages


Apply discounts after shipping costs (Minimum version 6.2.0)

If you need discounts to kick in after shipping totals have been calculated, set the following


Show quantity pricing (Minimum version 6.5.0)

If you want to show quantity pricing on the detail page, set the following


Back to top

Customer login

Enable customer login

To enable the customer login box you will need to add the line (if it's not already present)


Wholesale pricing

Wholesale prices can be set for product options. To do this add the parameter


You can disable discounts for logged in customers with the wholesale attribute by adding the parameter


You can set a separate minimum wholesale purchase amount and message by setting the following

minwholesalemessage="Your message"

Client login forwarding page

You can set per login level forwarding pages for the client login system or send the logged in client back to the referring page. To set the forwarding page for all pages you can set for instance . . .

Or to use the "referring" page set . . .
Or optionally you can set . . .
. . . to set say a forwarding page for only those logged in with login level 2.

Force customer login

To force customers to create an account before checking out


Self register

To enable customers / clients to self register


Remove login prompt

If you need to remove the prompt on cart.asp to login then add this to your vsadmin/includes.asp file...


Customer login link

To provide a link to the customer account in the login minibox, add the following


Customer login default level

If you need to set a login level for new customers then you will need the following


...where 2 is the login level that will be applied to all new customers.

Customer login wholesale pricing

If you want a customer to be able to set up an account and see wholesale pricing then you will need the following


If you want customers to be given a specific discount following log in, you will need the following


... where 20 is the discount that will be applied to all new accounts created.

Set number of login levels

If you want to have more than the default 5 login levels, set the following to have 10 for example


Force customer login onto HTTPS

If you need your customers to login over a secure https connection, set the following


This will also work for the affiliate login page but you must have the HTTPS Store URL set also.

Loyalty / reward points (Minimum version 6.1.0)

To turn on the loyalty points feature, set the following


....where 100 is the number of points per unit of currency eg $1 = 100 points.

The default redemption value for a point will be 0.0001 but that can be changed with


If you need to turn off loyalty points for customers who receive wholesale pricing and / or a percentage discount you will need a minimum of Version 6.5 and the following in includes.asp


Extra client login fields (Minimum version 6.3.0)

It is possible to add two extra fields to the client login admin and account. You can define these in vsadmin/includes.asp with the following...


If you want to make those required fields you will also need...


Back to top

Admin tweaks

SQL server

If you need to use SQL server rather than the Microsoft Access database then you will need to put sqlserver=true. Also make sure you change your connection string as suggested in the instructions. The majority of users however will be working from Access and won't need to use this option.

Currency formats (Retired in Version 6.6 and added to admin)

Normally the currency is automatically set by your country settings, but sometimes servers don't seem to have locales installed, and some have special needs. These are the parameters available:

- Switches the currency overriding on

- The currency symbol used on product pages.

- The currency symbol used in emails. Normally the same, but can be handy if you wish to set your product page currency symbol to an HTML code like € or ¥ and then in the email set it to EURO or YEN

- How many decimal places your currency has.

- If you want to display the currency symbol before or after the amount.

- If you need to force the settlement in US Dollars even if you are selling from another country.

Adjust date


...would adjust the date the order status was updated by 3 hours.


...would adjust it by minus 4 hours. This is so that if your server time is not the same as your local time then you can adjust for this.

Character sets

Greater support is now given for “Wide” Character sets such as Japanese and Chinese. You can set the following 2 switches . . .


. . . changing “shift_jis” for the actual character encoding used in your emails and admin section pages.

If your store is in a language which uses non-western characters in unicode, then you may need the following parameter...


This will recode the HTML unicode characters to the Javascript equivalent so that they can display correctly in Javascript alerts and drop down menus etc.

If you are running a store that requires right to left text set the following


Multiple languages

If you need to have more than one language then set:


to indicate which language is being used for that particular admin section.

IP Blocking

To limit the number of transactions in a 24 hour period per IP set:


...where 10 here is the maximum number of purchases by that particular IP address in 24 hours.

Second store URL

If you need to set up a second store on the same server but for a different domain then use the setting
in includes.asp. This will override the Home URL in the main admin settings. You will also need to set the database connection in vsadmin/db_conn_open.asp to point to the first store database.

Admin login

To receive notification of when somebody tries to enter your admin section set:


To disable the login to your admin section set:

This means that you can disable the vsadmin directory and create a copy in a directory with your choice of name that hackers will never know exists.

CKeditor product admin HTML editor (Minimum version 6.2.0)

If you want the built in CKeditor HTML editor for your product admin page then add this to includes.asp . . .


You will need to download the CKeditor files separately from our downloads page and upload them as per the instructions there.

State abbreviations



to use state abbreviations rather than state names

Static page redirection

If you are using static pages, an attempt to locate the page on the old dynamic URL will result in an HTTP "301 Moved Permanently" and a redirect to the static page. To enable this feature use the following setting in your vsadmin/includes.asp file...


Set proxy server

A proxy server can be set where necessary by setting...


Streamlining search

If you have a very large database and the search feature is running slow you can use the following entries to disable search on certain criteria...





For the product admin search in the control panel...



If you want to set the number of categories per page in the admin (Version 5.9.4 required) set the following...


2 way related products

If you are using the related products feature and want the relation to work both ways ie if you relate Product A to Product B then Product B will automatically be related to Product A without having to set up that relationship, set the following...


Disable admin automatic update checking

If your host has a firewall installed that blocks access to you may find you have problems when the system automatically checks for updates. In this case please set the following...


This will stop the admin from checking for the latest version of the software and should only really be used if there are connection problems and your host is unwilling to open the Firewall for that URL. Apart from new features, the updaters provide very important security fixes that you can be advised upon through the admin.

Turn off PA-DSS compliance features (Versions 6.1.0 to 6.3.1)

If for testing purposes or if your payment provider does not require you to be PA-DSS compliant and you want to turn off the PA-DSS compliance features, set the following...


From Version 6.3.2, changes in the way the cart is assessed for PA-DSS means that we no longer have to have some of the more annoying features enabled by default. That means that by default you will not be logged out of admin after 15 minutes, that the admin back button will work, that you don't have to change your password every 90 days and can go back to an old favourite password. If you DO want to enable those features then just set the parameter...


Back to top

Image tweaks

Changing default buttons to images

If you would like to use your own images instead of the browser generated buttons for Continue Shopping, Update Totals, Delete, Printable Version, Configure Options and Buy the add the following to vsadmin/includes.asp



For the checkout button you can use an image with this addition


or if you want a button then use


From Version 5.8 use the following if you need different checkout buttons


...will replace the checkout button on the address details page


...will replace the checkout button on the final cart page

If you want to change the checkout button on the soft cart use


From Version 5.8 all store generated buttons have a corresponding image substitute. There are the ones that can now be used

Search page
Affiliates page

Tracking page

Order status page
Client login

Wish List
Digital downloads
Notify when back in stock
Mini mailing list sign up submit button
Gift certificates and donations submit buttons

In version 6.1 we added images for the send and close buttons on the email a friend / ask a question pop up


In version 6.4.4 we added an image alternative for the Apply Coupon button


This also has its own css class...
So that you can set the style separately for the first checkout and second checkout page apply buttons, they have the classes applycoupon1 and applycoupon2 respectively.

In version 6.6 we added images for the email a friend and ask a question features


These can also be set as text links


You will need to upload your own images to the main images folder on your store.

Please note those displayed as links by default such as continue shopping, update totals, add to wish list etc can have button alternatives eg


which can then be styled via the css file.

Giant image properties

If you are using the giant image linked from the product detail page then to have it appear in a pop-up window, use the following


If you prefer not to have a pop-up window and have the image open on a separate page then set


Image upload

To enable the image upload in the product admin page add this to vsadmin/includes.asp


Please note that your host must have ASPupload installed on the server to use this feature so please check with them first.

Default product and category image folder

The default folder for product images is /prodimages/ but this can be changed for the location of the product images with this addition

defaultprodimages = "newimagefolder/"

... and this one for category images which has a default of /images/

defaultcatimages = "newcatimagefolder/"

Shipping logo (Minimum version 6.0.0)

To show your own shipping logo for weight or price based shipping on checkout add this to vsadmin/includes.asp


Back to top

Customer reviews

Enable customer reviews and ratings

If you would like your customers to rate and review your products, add this line to vsadmin/includes.asp


Restrict customer reviews to logged in customers only

If you only want logged in customers to be able to add a rating and / or review then set


Customer review display options

You can set the maximum number of reviews and ratings you want to appear on the product detail page with the following addition


To set the number of reviews per page on the all reviews page(s)


Limit the number of reviews submitted per day

If you want to limit the number of reviews submitted in a 24 hour period then set the following


Limit the number of characters shown in the review

The default number of characters before the text is truncated is 255 on the product detail page. If you want to show more of the text there then you will need the following setting, for example


Show ratings on the products page

If you would like to show the ratings on the products page with a link to the reviews on the product detail page, add this to includes.asp


If you would like to show the ratings and stars away from the reviews section such as under the product name you will need to be using the css layout with reviewstars or reviewstarslarge and then add the following...

detailreviewstarstext="<a href=""#reviews"">Rating: %totrating%, based on:%numratings%</a>"

...where you can enter your own free form text with the replacements for %totrating% and %numratings%

If you want to show content when there are no reviews or ratings add this...

detailreviewnoratings='<div class="detailnoratings">Whatever You like</div>' show the content of your choice.

Back to top

Gift certificates

Disable payment types for gift certificate purchase

You may want to disable some payment types if offering gift certificates on your store. For example using Email or Capture Card would mean that the customer receives the certificate before payment. To specify a list of payment providers you want to disable you need to set...


...where each number is the id of the payment provider listed in the payment provider admin page. In this case email (4) and capture card (10).

Set minimum value for gift certificates

If you need to set up a minimum purchase value for the gift certificate you will need to set the following...


To set the number of gift certificates listed per page in the store control panel add the following


Back to top

Gift registry and Wish Lists

Enable the gift registry feature

To enable the wish list feature you will need to set the following...


Add to List link

To show the Add to List link on the product and product detail pages set the following...


To show the Add to List link on the product detail page only set the following...


Back to top

Spry tabbed panels

Enable the description tab

If you want to get started quickly with the tabbed panels and add one just tab labeled "description", set the following in vsadmin/includes.asp...

defaultdescriptiontab="<ecttab title=""Description"">"

If you want to replace the text link with an image or icon use...

defaultdescriptiontab="<ecttab title=""Description"" img="images/desc.gif" imgov="images/desc_ov.gif">"

Sliding panels

If you would like your text to slide in from the right of the panel, use...


Dyanamic tab content

To show product reviews and related product tabs, add the following...

ecttabsspecials="<ecttab title=""Reviews"" special=""reviews""><ecttab title=""Related"" special=""related"">"

To format the related product tab content use the following...

relatedtabtemplate="<tr><td class=""reltabimage"" rowspan=""2"">%img%</td><td class=""reltabname"">%name% <br /> %price%</td></tr><tr><td class=""reltabdescription"">%description%</td></tr>"

The following parameters are available


Back to top

Last update

Last updated 16 March 2017