Display
options
· Product
page display numbers (Minimum version 1.3.7)
To display the product page number links at the top of the page
as well as the bottom set
$pagebarattop=1;
· Removing buy and checkout
buttons (Minimum version 2.0.0)
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 (Minimum version 3.5.0)
If you need to remove the top navigation ie. home >> category >> product
then set
$showcategories=FALSE;
· Terms and Conditions (Minimum
version 3.6.0)
If you need to make your customers agree to your terms and conditions
on checkout, set $termsandconditions=TRUE;
You will also need to create a page with your terms and conditions called termsandconditions.php
... which will be shown in a 420 x 380 popup.
· Quantity
boxes (Minimum version 3.6.1)
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):
$showquantonproduct=FALSE;
$showquantondetail=FALSE;
· Zero
price (Minimum version 3.6.3)
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 (Minimum version 3.6.3)
$showproductid=TRUE;
...will cause the product id to display on the product pages.
The text "Product ID" is from the vsadmin/inc/languagefile.php
as xxPrId
· Hide product
options (Minimum version 3.6.4)
$noproductoptions=TRUE;
...this will hide all the product options on the products page.
· Extra checkout
fields (Minimum version 4.1.0)
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,
text can be edited here for other uses.
$extraorderfield1required=TRUE; - 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.
$extraorderfield2required=TRUE; - will make this
field obligatory, setting to false will make it optional
· Extra checkout fields (Minimum version
5.3.0)
There are 2 new "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...
$extracheckoutfield1required=TRUE;
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...
$extracheckoutfield1reverse=TRUE;
To specify custom HTML for these just use something
like this for example...
$extracheckoutfield1html="<input
type=\"checkbox\" name=\"ordcheckoutextra1\" value=\"Yes\">";
$extracheckoutfield1html="<select name=\"ordcheckoutextra1\" size=\"1\"><option
value=\"No\">No</option><option value=\"Yes\">Yes</option></select>";
· Extra address line on checkout (Minimum
version 4.9.0)
To enable the use of an "Address Line 2" entry on the
checkout form, use the following switch...
$useaddressline2=TRUE;
· Extra shipping field on checkout (Versions
5.0.0 to 5.2.6 only)
To enable the use of an extra shipping field on checkout use the
following switch...
$extraorderfield3 = "Extra Ship Field";
· Forcing
minimum purchase amount (Minimum version 4.3.0)
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...
$minpurchaseamount=4.99;
$minpurchasemessage="I'm sorry, we have a minimum
purchase amount of £4.99. Please go back and <b>buy
some more</b>";
· Alternative
currency format (Minimum version 4.7.0)
You can now have total control over the display of the currency
conversions if you require. For instance use the following. . .
$currFormat1="<b>€</b>%s";
$currFormat2="<b>£</b>%s";
$currFormat3="<b>\$</b>%s";
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.
NOTE
The dollar sign is a special character in PHP
so would need to be escaped as in the example above, \$
· Product
detail link (Minimum version 4.7.0)
Instead of having the product “details” link leading
to the proddetail.php page, you can specify your own link by adding
the following (for example) to your vsadmin/includes.php file.
$detailslink="<a href=\"%largeimage%\" target=\"_blank\">";
$detailsendlink="</a>";
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 (Minimum version 4.7.0)
By setting the switch . . .
$hideoptpricediffs=true;
. . . 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 (Minimum version
4.9.2)
Set the following switch . . .
$nocatid=TRUE;
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 (Minimum
version 5.0.0)
Set the following switch . . .
$showinstock=TRUE;
to show the number of items in stock on your products page
Use
$noshowoutofstock=TRUE;
if you don't want out of stock items to appear on your products page
· Optional zip
(postal) code on checkout (Minimum version 5.0.0)
This will make the zip code an optional item on the checkout page.
$zipoptional=TRUE;
· Cross
selling (Minimum version 5.1.0)
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
$csnobuyorcheckout=TRUE;
...will remove the buy and checkout buttons
$csnoproductoptions=TRUE;
...will remove the product options
$csnoshowdiscounts=TRUE;
...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 number of products that are shown then
you can add this to includes.php
$crosssellcolumns=2;
$crosssellrows=1; This will give you two columns and 1 row of products, effectively
a maximum of 2 products showing.
Full set up details can be found on the cross
selling help page.
· Force
product detail link (Minimum version 5.1.0)
Adding....
$forcedetailslink=TRUE;
...to includes.php 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 (Minimum
version 5.1.0)
If you want to limit the number of characters used on the products
page for the product description then use this setting...
$shortdescriptionlimit=100;
...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 (Minimum
version 5.3.0)
If you want to remove the Remember Me feature from the checkout
page then add this to vsadmin/includes.php...
$noremember=TRUE;
· Show the SKU on the
product and detail pages (Minimum version 5.4.0)
If you want to show the SKU in the products and product detail
pages then add this to vsadmin/includes.php...
$showproductsku="ISBN";
...you will need to add the SKU to the product admin page.
· Show
the manufacturers on the search page (Minimum version
5.4.0)
To show a drop down and allow customers to refine the search by
manufacturer, use this setting...
$searchbymanufacturer="Manufacturer";
...you will need to define the manufacturers in the manufacturer
admin page and select them from the product admin page.
· Show
the manufacturers on the products page (Minimum version
5.5.0)
To show the manufacturer field on the products
page, add
$manufacturerfield="Manufacturer";
· Remove
options showing in cart using product alt id (Minimum
version 5.5.2)
For options with an alternate product id not to
be added to the cart set the following...
$noaddalternateoptions=TRUE;

|