Enabling
product reviews and ratings
To enable the review and rating feature you will
need to add one line to vsadmin/includes.asp or vsadmin/includes.php
depending on the version of the store you are running.
ASP Version: enablecustomerratings=TRUE
PHP Version: $enablecustomerratings=TRUE;
You can now visit any of your product detail pages
and you should see something like this

Clicking on the link will allow your customers
to give the product a rating and a review

All customer reviews are sent to the store control
panel for approval before publication. This allows you to weed
out any unwanted additions if you need to. Constructive criticism
of a product may not be such a bad thing and glowing reports on
everything on the store may appear quite contrived so it's good
to achieve a balance.

New reviews will appear in red in your ratings
admin page, and this is where you can view, approve or delete the
review. On approval the review will be sent to your product detail
page.

You can specify the number of
product reviews you want to appear on
the
product
detail
page
with
the
a one line
addition
to vsadmin/includes.asp or vsadmin/includes.php
ASP Version: numcustomerratings=2
PHP Version: $numcustomerratings=2;
Clicking on the "Show All" link will
take you to the main product review page.

The customer can sort the reviews by rating or
date submitted. You can specify the number of reviews you want
per page on the main ratings listing with this line in vsadmin/includes.asp
or vsadmin/includes.php
ASP Version: allreviewspagesize=30
PHP Version: $allreviewspagesize = 30;
You can restrict the product review feature
to logged in customers only. All users will be able to see the
reviews and ratings but only those who are logged into your site
will be allowed to submit a review or rating. To activate this
feature you will need to add a line to vsadmin/includes.asp or
vsadmin/includes.php
ASP Version: onlyclientratings=TRUE
PHP Version: $onlyclientratings=TRUE;
Product review tweaks
Limit reviews per day
It is possible to limit the number of reviews allowed
in a 24 hour period with this addition to vsadmnin/includes.asp
or vsadmin/includes.php
ASP Version: dailyratinglimit=10
PHP Version: $dailyratinglimit=10;
Change the ratings graphics
The default graphics are shown in the screenshot
above but we have some extra sets of graphics on our free
downloads page that you can upload to your main
images folder.
You can make your own graphics. You will need three
and they should be called reviewcart.gif, reviewcarthg and reviewcartg.gif
for the full image, half image and dimmed image.
Change the separator between reviews
If you want to use a cross browser horizontal
line color between the product reviews then add this to you .css
file
hr.review {
height: 0;
border-width: 1px 0 0 0;
border-style: dashed;
border-color: #006AC8;
}
This will give you a blue dashed line like the
one below
|