Virtuemart User Manual: 1. Preamble
Virtuemart User Manual: 1. Preamble
This document is published under the Open Content License available from http://
www.opencontent.org/opl.shtml [http://www.opencontent.org/opl.shtml]
Revision History
Revision 1.0 April 2007 soeren_nb
Updated to reflect new features in VirtueMart 1.1
Revision 0.91 November, 23 2005 soeren_nb
VirtueMart conversion
Revision 0.9 May 31, 2005 soeren_nb
Updated for Version 1.2 stable
Revision 0.81 March 09, 2005 soeren_nb
Initial Release
Table of Contents
1. Preamble .................................................................................................................. 1
2. Introduction .............................................................................................................. 1
3. Installation ............................................................................................................... 5
4. First Steps .............................................................................................................. 13
5. Administrator Tutorial .............................................................................................. 15
6. Known Problems ..................................................................................................... 71
7. To-Do List ............................................................................................................. 71
8. About .................................................................................................................... 71
1. Preamble
The Software 'VirtueMart' is intended for use in Joomla! or Mambo (version 4.5.x, 4.6.x).
(Joomla! and Mambo is free Software, licensed under GNU/GPL; Joomla! is available from
www.joomla.org [http://www.joomla.org])
2. Introduction
1
VirtueMart User Manual
2.1.2. Features
• manage an unlimited Number of Products and Categories,
• use it as a Shop or just as an Online-Catalog (you can even turn off Price Display)
• add Images and Files (like Spec Sheets and Flyers) to a Product,
• assign more than one Price to a Product: each Shopper Group has its own!
• display Prices either including or excluding tax (manageable for each Shopper Group)
• Shop Statistics / Control Panel with a Summary of new Customers, new Orders....
• complete Order Management with Order History, Customer Notification and Order Edit
Functionality
• let your Customers easily search for Products through a Search Form
• Shoppers can see, in what time a product will usually ship, on product-details page (with nice
images!)
2
VirtueMart User Manual
• extend your Shop with other Payment & Shipping Modules or just write your own!
• ... many more! Just browse to virtuemart.net [http://virtuemart.net] for more Features & Extensions
You will need some time to customize this application to fit your needs.
Be prepared to be confronted with bugs, which have currently not been found yet. VirtueMart has an
active community and a forum where problems and questions can be discussed. (http://virtuemart.net
[http://VirtueMart.net])
2.3. Screenshots
3
VirtueMart User Manual
Administrator Screenshots
4
VirtueMart User Manual
3. Installation
3.1. Requirements
3.1.1. Server Requirements
As VirtueMart is only a plugin for Joomla!, it has the same System Requirements, which are:
You must ensure that you have MySQL-, XML- and Zlib-Support built into your PHP. Support for
https (openSSL) and cURL is recommended!
5
VirtueMart User Manual
1. The automatic installation with Joomla's / Mambo's Element (Component-, Module-, Mambot-)
Installer.
Some users can't use the automatic Installer because of the PHP setting 'safe_mode' being set to 'On'.
In case you're running into trouble with the automatic Installer try the manual installation instead.
All you need to do is install VirtueMart! It will convert your installation of mambo-phpShop, rename
the tables and copy all customer information into its own table #__vm_user_info.
So just follow the instructions for the automatic installation (or if you have difficulties with it: the
manual installation).
Note
It is recommended to uninstall the old mambo-phpShop modules after you have installed the
VirtueMart component and then install the new VirtueMart modules.
Caution
It is absolutely necessary to make a backup of your whole site before you upgrade your
shop! An upgrade failure can always happen! So please: BACKUP, BACKUP, BACKUP!
The are two small changes to the database, so you must run the following SQL queries on your database
to update it.
#############################################
# SQL update script for upgrading
# from VirtueMart 1.0.x to VirtueMart 1.0.5
#
#############################################
ALTER TABLE `jos_vm_orders` ADD `order_tax_details` TEXT NOT NULL AFTER `order_t
6
VirtueMart User Manual
If you have another database prefix than "jos_" you must change the "jos_" to your prefix (mostly
'mos_' then).
Important
This file is not installable! Its contents are, but they must be unpacked first.
Package Contents:
• 1 Component (com_virtuemart_x.x.tar.gz)
• 10 additional Modules
7
VirtueMart User Manual
3. Click 'Installers' => 'Components' (or 'Components' => 'Install/Uninstall' when using an older
Mambo version) in the Top Menu.
Caution
You must check if the directories listed above the component list are writable! If the
directories are not writable, use ftp or JoomlaXplorer to change the permissions. For
proper installation, the directories should be set to 777, after that you can change back
to 755.
8
VirtueMart User Manual
In the part 'Upload new component' select the file 'com_virtuemart_x.x.tar.gz'. This is
the package file which contains all files for the VirtueMart Component, located on your computer
(see Step 1).
Now click on 'Upload File & Install'. Since the tar.gz file is about 1 MB in size, you will have to
wait a moment while the file is being uploaded to your server and unpacked.
If the upload takes too long, try Step 4 or do the Manual Installation.
Note
Package Files are mostly a ZIP or tar.gz compressed file directory, which includes all
information for the installation. The main file is an XML document which describes the
installation process. In order to use this function for your installation, your web server
must support the zlib extension. You can check this in the Admin Section Menu
item, System > System Info > System Information.
5. The VirtueMart Component should be installed now. You'll see the Welcome Message Screen with
some options for the next steps:
You can now choose whether you want to install Sample Data (18 products, with attributes, in 5
categories) to see how things have to be set up.
Or you can 'go directly to the Shop >>' without installing Sample Data.
9
VirtueMart User Manual
Caution
This step again takes some time & the VirtueMart installer is running a lot of Database
Queries now. So please be patient!
6. Click 'Installers' => 'Modules' (or 'Modules' -> 'Install/Uninstall' if you're using an older Mambo
version) in the Top Menu to proceed to the installation of the VirtueMart Main module.
Choose the file 'mod_virtuemart_x.x.tar.gz' in the File Dialog and click 'Upload File &
Install'.
Repeating this step you can install the additional modules for VirtueMart.
Click 'Modules' -> 'Site Modules' in the Top Menu. Now browse through the list of installed
modules and find the one with the name 'VirtueMart Module'. Select it (click on the name) and
modify its settings/details. You can now choose where to put the Module on your Joomla! site.
For more information about modules please refer to the Joomla! documentation (help.joomla.org
[http://help.joomla.org]).
Important
Anywhere you place the module on your site, IT MUST BE PUBLISHED. If it is not, you
can't access or browse your shop.
Additional modules
mod_product_categories "Product Categories Module"
Displays the mini-cart for the customer with a link to the cart
page.
Shows all manufacturers from your store with a link to find all
products of the selected manufacturer.
10
VirtueMart User Manual
Does what the name says: displays random products from your
store or a certain category.
Click on 'Installers' => 'Mambots' (or 'Mambots' -> 'Install/Uninstall' when using an older Mambo
version) in the Top Menu.
SearchBot: Performs a search on the product table and delivers search results for Joomla's /
Mambo's site search.
Select the file 'virtuemart.searchbot_x.x.tar.gz' and click 'Upload File & Install'.
Select the file 'mosproductsnap_x.x.tar.gz' and click 'Upload File & Install'.
Mambots need to be published before they do ANYTHING. Click on 'Mambots' -> 'Site Mambots'
in the Top Menu. Now browse through the list of installed Mambots and find 'virtuemart.searchbot'
and 'mosproductsnap'. Select one (click on the name) and modify its settings/details. Remember
to publish it. For more information about Mambots please refer to the Joomla! documentation (
http://help.joomla.org).
You're now done with the Installation of VirtueMart and its elements.
You don't need to pull out your hair! You can still use the manual installation.
Manual Installation is a little bit harder than the automatic installation. It will need some file copying.
1. Download the Manual Installation Package. This is just another Package Form of VirtueMart.
You should now see at least four directories. The directory structure in those directories is the same
as in your Joomla! / Mambo site:
/administrator
/components
/mambots
/modules
3. Open up an FTP Connection to your site (you should use an FTP Program like SmartFTP...) and
upload the directories to the root of your Joomla! site.
11
VirtueMart User Manual
/site-root/administrator
/site-root/components
/site-root/mambots
/site-root/modules
5. When having logged in, you see this URL in the address bar:
http://www.your_site.com/administrator/index2.php
6. Now just add "?option=com_virtuemart" after index2.php, so it looks like this in your
browser's address bar:
http://www.your_site.com/administrator/
index2.php?option=com_virtuemart
7. You should now see the "Installation was successful..." Screen. There you can click on "GO TO
THE SHOP >>" or "INSTALL SAMPLE DATA >>" (when you want to have some sample
Products and Categories in your Shop).
8. That's it.
9. To install the Modules and Mambots for VirtueMart, follow the instructions of the Automatic
Installation, Steps 6 and 7. If this doesn't help you, because NO automatic installations are possible,
you can manually upload the files (you have probably already done this in step 3).
You can add these entries by uploading an SQL file (using phpMyAdmin) that contains all
necessary queries:
/administrator/components/com_virtuemart/sql/
virtuemart_modules.installation.sql
Mostly this problem arises because you have not unpacked the file
VirtueMart_x.x_COMPLETE_PACKAGE.zip before and tried uploading / installing this
file.
3.5.1.2.The Installer tells me "Another component is already using the directory com_virtuemart"
3.5.1.3.When using the automatic installation nothing happens after clicking on "Upload & Install"
What's the cause?
12
VirtueMart User Manual
VirtueMart is a big component, its installer file archive has a size of more than 1.5
MB. When uploading this file to your server you can wait a long time until the file is
completely transferred to your server. You can use the Remote Installer for VirtueMart
instead! (Remote Installer for VirtueMart) [http://joomlacode.org/gf/project/virtuemart/frs/
?action=FrsReleaseBrowse&frs_package_id=192]
3.5.1.4.What are those tar.gz files, aren't those for Unix/Linux systems only?
tar.gz Archives come from the Unix World, but they can be used on Windows and Mac systems
as well. On Windows you can unpack them using Winzip or Winrar. Gzip has a much much
better compression than Zip, that's one reason why most Open Source projects use it for their
distributions.
3.5.1.5.On an upgrade from mambo-phpShop, the VirtueMart installer won't recognise my existing
tables! What to do now?
Sometimes the tables beginning with jos_pshop_ or mos_pshop_ are not found. Before you click
on "Install sample data" or "Go directly to the shop" you can just type in this URL in the addess
bar of your browser:
index2.php?option=com_virtuemart&install_type=update12pl3
3.5.1.6.After the installation I try to access VirtueMart, but it just prints out an error like "store is not
a valid VirtueMart module...". What's wrong?
The installation is corrupt. The registered functions and core modules, which are used by
VirtueMart to check the acccess permissions are missing. You need to make sure that the tables
"jos_vm_functions" and "jos_vm_modules" have been created in your database and contain
records. If they are missing, you can add those tables manually by using the SQL installer
file /sql/virtuemart.installation.joomla.sql. Search for those tables, copy
the SQL code and paste it into the textarea in phpMyAdmin's SQL execution screen.
3.5.1.7.After having installed the component, I add a Main Menu Link to the VirtueMart component.
But clicking on that link only displays the text "Welcome to Washupito's....." What's wrong?
4. First Steps
Do you have installed the VirtueMart Main Module?
If not, do so now. Don't forget to publish it somehere on your site. This module is meant to display
all categories and to control the component.
Note
All following procedures mean that you use the Main Menu of the VirtueMart
Administration!
Tip
VirtueMart provides FULL ACCESS to its Administration Panel from the Frontend! That
means that you don't have to login at the backend of your site to make all your changes, but
just click on "Administration" in the VirtueMart Main Module. (requires admin or storeadmin
permissions)
13
VirtueMart User Manual
1. Go to "Store" -> "Edit Store" and make all important settings that fit to your details. Don't forget
to set currency, currency display style and your email address!
2. Go to "Tax" -> "Add tax rate" and add a tax rate accoring to the local settings of your Shop
(important for european shops!).
3. Go to "Components" -> "VirtueMart" -> "Admin" -> Configuration and change all details to fit
your needs.
4. Go to "Components" -> "VirtueMart" -> "Products" -> "Categories" -> "Add category" and set up
your categories and category structure. Be sure that all of them are published.
5. Go to "Components" -> "VirtueMart" -> "Products" -> "Products" -> "Add Product" and add as
many products as you need repeating this step.
Caution
If you don't change your Store Information and the
Email Address, VirtueMart sends Order Confirmation
Mails to [email protected].
/administrator/components/com_virtuemart/
languages
14
VirtueMart User Manual
5. Administrator Tutorial
This tutorial will walk you through the setup of your site, ongoing management, and advanced
administration accessed via the VirtueMart administrative interface.
It assumes that you have already installed and configured your site (VirtueMart 1.1 with Joomla!
1.0.12).
VirtueMart allows you to select "Simple Layout" and "Extended Layout". The simple layout is the
standard layout and provides a basic cross-browser-safe layout. The extended layout instead uses the
fabulous ExtJS library for creating a nested layout that allows better presentation of the administrative
functions of VirtueMart. So it opens items for editing in a new tab inside the main panel. It should
work fine on Internet Explorer 6+, Firefox 2+, Opera 9+ and Safari 2+.
Note that the configuration panel can be accessed by users with permissions "admin" only (by default).
You can access the different parts of the Panel by clicking on the Tab Headings.
5.1.1. Global
Global
Shop is offline? Here you can switch the shop from Online to Offline mode. In
offline mode, the offline message is displayed instead of the
15
VirtueMart User Manual
product pages. This means the whole shop section isnt usable
for customers. Administrators won't see the shop too.
Offline Message This message will be displayed to customers who try to access
your store.
Show Prices When enabled, product prices are displayed. (useful when
using "catalog-only" functionality. Note that you can't hide
prices from unregistered users to show prices only to registered
users. Either ON or OFF!
Show "(including XX% tax)" when When checked, users will see the text "(including xx% tax)"
applicable? when prices are shown incl. tax (which depends on shopper
group settings!).
Show the price label for Use "price per packaging" label?
packaging?
Show Prices including tax? Sets the flag whether the shoppers sees prices including tax or
excluding tax. When enabled prices are displayed like "X.XX
(including XX% Tax)"
Enable content mambots/plugins in If enabled, you can use your mambots and plugins for dynamic
descriptions? content in the product or category descriptions.
Enable Coupon Usage If you enable the Coupon Usage, you allow customers to fill in
Coupon Numbers to gain discounts on their purchase.
Customer Review/Rating System If enabled, you allow customers to rate products and write
reviews about them. So customers can write down their
experiences with the product for other customers.
Auto-Publish Reviews? If enabled, customer reviews are instantly shown after being
submitted. Maybe not a good idea, because you want to check
the product reviews before.
Comment Minimum Length This is the amount of characters a customer must write at least
before a review can be submitted.
Comment Maximum Length This is the maximum amount of characters a customer can write
before a review can be submitted.
Enable Affiliate Program? This enables the affiliate tracking in the shop-frontend. Enable
if you have added affiliates in the backend.
Caution
The Affiliate Program doesn't fully work. It must be
completed in future versions.
Virtual Tax This determines whether items with zero weight are taxed or
not (only applies in Ship-To-Address based Tax Mode).
Tax mode This determines which tax rate is taken for calculating taxes.
It can be either the tax rate of the customer's shipping address
16
VirtueMart User Manual
Enable multiple tax rates? Check this, if you have products with different tax rates (e.g.
7% for books and food, 16% for other stuff).
Discount before tax/shipping? Sets the flag whether to subtract the Discount for the selected
payment BEFORE (checked) or AFTER tax and shipping.
Show the "Remember me" The "Remember me" feature allows to set a cookie in the
checkbox on login? customer's browser, so the customer doesn't need to login each
time he returns to the site. This is done by default. But such
cookies can be a security risk - especially when people are
sharing a PC in an Internet Cafe. So check this checkbox to
allow customers *not* to store a user cookie.
Customers can select a state/ When enabled, your customers are presented a drop-down list
region? with states where they can select one.
Must agree to Terms of Service? Check if you want a shopper to agree to your Terms of Service
before registering to the shop.
Agree to T.o.S. on EVERY Check if you want a shopper to agree to your terms of service
ORDER? on EVERY ORDER (before placing the order).
Show information about "Return Store owners are required by law to inform their customers
Policy" on the order confirmation about return and order cancellation policies in most european
page? countries. So this should be enabled in most cases.
Legal information text (short This text instructs your customers in short about your return
version) and order cancellation policy. It is shown on the last page of
checkout, just above the "Confirm Order" button.
17
VirtueMart User Manual
Long version of the return policy This is the long and detailled version of your returns policy.
(link to a content item) This text is linked in the short version and appended to each
order confirmation email.
Check Stock? Sets whether to check the stock level when a user adds an item
to the shopping cart. If set, this will not allow user to add more
items to the cart than are available in stock.
Show Products that are out of Let's you decide wether Products that are out of Stock are
Stock? displayed or hidden (only available when Check Stock is
enabled).
Enable the Cookie Check? If enabled, VirtueMart checks wether the browser of the
customer accepts cookies or not. This is user-friendly, but
it can have negative consequences on the Search-Engine-
Friendlyness of your shop.
Currency Converter Module This allows you to select a certain currency converter module.
Such modules fetch exchange rates from a server and convert
one currency into another.
Order-mail format: This determines how your order confirmation emails are set up:
5.1.2. Security
SECUREURL Example: https://www.mydomain.com
The secure URL to your site. (https - with trailing slash at the
end!)
Caution
Be careful what you fill in here - if the address doesn't
exist, customers would be redirected to a non-existing
location and receive a 404 error!
Shop Areas which must use https Some of the areas of your shop can be forced to use
the SECUREURL connection. Here you can choose the
modules which must use this SECUREURL. By default this
is: "account" (Account Maintenance) and "checkout" (the
complete Checkout).
Generally prevent secure When checked, the shopper is redirected to the normal URL
connections? when not browsing in those shop areas, which are forced to use
the SECUREURL.
Encryption Key The secret key for encrypting payment account data like credit
card numbers and storing them encrypted in the database.
Store Credit Card Information? Allows to completely disable the storage of Credit Card data.
18
VirtueMart User Manual
Table Prefix for VirtueMart Tables This is an experimental feature to allow multiple shops in one
Joomla! installation.
Proxy Server URL The URL of the Proxy Server you need to pass from the server
for connections into the Internet.
Proxy Auth Username Only if needed: the username for authentication at the proxy
server
Proxy Auth Password Only if needed: the matching password for authentication at the
proxy server
Display
PDF - Button Show or Hide the PDF - Button in the Shop Frontend.
Show the "Recommend to a friend" Show or Hide the link to the form for recommending a product
button? to a friend in the Shop Frontend.
Show the "Print View" link? Show or Hide the link for the print view page in the Shop
Frontend.
Default Product Sort Order Here you can select by which criteria products are ordered in
the product lists.
Available "Sort-by" fields Here you can select the criteria which is available for the
customer to reorder the product list.
19
VirtueMart User Manual
Show footer "powered by..." ? Displays a powered-by-VirtueMart footer image. Give credits
back to the author!
Design
Global Shop Theme Here you can select which theme is used to style the shop. The
configuration link takes you to the theme configuration screen.
Default number of products in a This defines the number of products in a row. Example: If you
row set it to 4, the default category template will display 4 products
per row.
Note
You can change the Category's Number of products
per row for each category in its category form!
Note
You can change the Category Template for each
category in its category form!
Note
You can change the Flypage for each category in its
category form!
Dynamic Thumbnail Resizing? If checked, you enable dynamic Image Resizing. This means
that all Thumbnail Images are resized to fit the Sizes you
provide below, using PHP's GD2 functions.
Tip
You can check if you have GD2 support by browsing
to "System" -> "System Info" -> "PHP Info" -> gd.
Thumbnail Image Width The target width of the resized Thumbnail Image.
20
VirtueMart User Manual
Thumbnail Image Height The target height of the resized Thumbnail Image.
5.1.4. Shipping
In the Shipping section you can select one or more of the provided Shipping Modules.
Tip
You can configure Online Services (like UPS® or Intershipper®) in "Store" => "List
Shipping Modules" => Service Name. Other Shipping methods like Standard Shipping or
Zone Shipping must be configured through their own administrative interface: "Shipping"
=> Shipping Rates / Shippers or "Zone Shipping" => "Zone List". The Free Shipping module
can be configured by amount only in the Store Form.
The selected Shipping Module will list all available Shipping Rates on Checkout.
Note
If you want no Shipping Rate Selection, you must select "Disable Shipping method selection"
AND a checkout process (next Tab) which doesn't include Shipping Method selection.
5.1.5. Checkout
Enable the Checkout Bar default: Enabled
Checkout Steps The Checkout Process is divided into different Steps. Steps
can be combined to so-called "Checkout Stages" by giving the
same ordering number. Each one of the steps can be re-arranged
by using the input boxes and writing a numeric value into it
indicating the step number.
5.1.6. Downloads
Enable Downloads Check to enable the Download Feature. Only If you want sell
downloadable goods.
"Enable download" Status value: can be some Order Status (not cancelled ;-)).
"Disable download" Order Status Sets the order status at which the download is disabled for the
customer.
DOWNLOADROOT The physical path to the files for the custumer download.
(trailing slash at the end!)
Important
Must be a physical path, no URL.
Caution
For your own shop's security: If you can, please
use a directory ANYWHERE OUTSIDE OF THE
WEBROOT
21
VirtueMart User Manual
Download Maximum Sets the number of downloads which can be made with one
Download-ID for one order.
Download Expire Sets the time range in seconds in which the download is enabled
for the customer. This range begins with the first download!
When the time range has expired, the download-ID is disabled.
Tip
86400s=24h
Keep Product Stock Level on When enabled, the stock level for a downloadable product is
Purchase? not lowered although it was purchased by customers.
22
VirtueMart User Manual
If you see the VirtueMart "Welcome" page when accessing VirtueMart, click "Go Directly to Shop".
Navigating to the VirtueMart admin interface will bring up the "Store: Summary" page.
You may also access this page from within the VirtueMart interface under "Store | Summary"
Store From
The information from the Store Information form is displayed in various locations on the shopping
site. This is your store's primary identity - essentially a special "master" vendor.
23
VirtueMart User Manual
Last, First & Middle Name The Name of your Contact Person.
Minimum Purchase Order Value This is the amount which is the minimum Order Value for
Checkout.
Minimum Amount for Free This is the amount, from which on Shipping is free.
Shipping
Currency symbol This is the currency symbol which will be used when displaying
prices.
24
VirtueMart User Manual
Thousands separator
List of accepted currencies This list defines all those currencies you accept when people
are buying something in your store.
Note
All currencies selected here can be used at checkout! If
you don't want that, just select your country's currency
(=default).
Terms of Service This is the complete text for your Terms of Service that is
displayed to the customer.
Click on the "Save" icon. Now you're ready to begin adding Categories, Products and Manufacturers.
To add a new country, click "New" in the top of the list and fill out the fields in the country form.
25
VirtueMart User Manual
Don't forget to save and the new country is added to the list.
You can modify existing countries. To do so, just click on the name of a country in that list and a form
opens and you can modify the properties of this country. Again don't forget to save your changes.
To remove one or more countries from the list, either click on the "trash bin" icon in the last column of
each row and confirm to remove the country or select countries and click on "Remove" in the toolbar.
To add a new Currency, click "New" in the top of the list and fill out the fields in the Currency form.
26
VirtueMart User Manual
Don't forget to save and the new currency is added to the list.
You can modify existing currencies. To do so, just click on the name of a currency in that list and a form
opens and you can modify the properties of this currency. Again don't forget to save your changes.
To remove one or more currencies from the list, either click on the "trash bin" icon in the last column
of each row and confirm to remove the currency or select multiple currencies using the checkboxes
and click on "Remove" in the toolbar.
Core Modules build a part of your store and are used to manage the different sections and their access
permissions.
Caution
You need to act carefully in this part of VirtueMart. Changing Core Modules and their
permissions can result in locking out other users or even yourself from the store.
Core Modules are managed in the module list, which can be accessed through "Admin" => "List
Modules".
27
VirtueMart User Manual
To add a new module, click "New" in the top of the list and fill out the fields in the module form.
Don't forget to save and the new module is added to the list.
You can modify existing modules. To do so, just click on the name of a module in that list and a form
opens and you can modify the properties of this module. Again don't forget to save your changes.
To remove one or more modules from the list, either click on the "trash bin" icon in the last column of
each row and confirm to remove the module or select modules and click on "Remove" in the toolbar.
Caution
You need to act carefully in this part of VirtueMart. Changing Core Functions and their
permissions can result in locking out other users or even yourself from the store.
Functions are always assigned to core modules. So at first you need to go to the module list ("Admin"
=> "List Modules") and then click on "Function List" in the row of the module you want to manage
functions for.
If you have done this, you can see a list of all functions for that module.
28
VirtueMart User Manual
To add a new function, click "New" in the top of the list and fill out the fields in the function form.
Don't forget to save and the new function is added to the list.
You can modify existing functions. To do so, just click on the name of a function in that list and a form
opens and you can modify the properties of this function. Again don't forget to save your changes.
To remove one or more functions from the list, either click on the "trash bin" icon in the last column of
each row and confirm to remove the function or select functions and click on "Remove" in the toolbar.
29
VirtueMart User Manual
For stores where manufacturer information is not necessarily relevant, a default manufacturer is
created upon installation.
It is not necessary to create manufacturers prior to creating your catalog. Products can be re-associated
to manufacturers after all the product records have been created. However, creating the manufacturers
first can save a lot of extra work if you already know that you will be using this information.
Click on the "Save" icon. You will be redirected to the "Manufacturer Category List" page, showing
the "-default-" category, and the new category you just entered.
Click on the name of the manufacturer category you want to edit, make any necessary changes to the
fields (listed above), and click on the "Save" icon.
Once the manufacturers have been removed, select "Manufacturers | List Manufacturer Categories"
from the VirtueMart admin menu. Click on the name of the manufacturer category you want to delete.
In the Manufacturer Category Form, click on the "Remove" icon. Click "OK" to confirm that you are
sure you want to delete this category. You will be returned to the Manufacturer Category List.
Note that the manufacturer category you deleted is no longer listed. To recover this record, you
must create a new manufacturer category, and re-associate any manufacturers that belong in that
manufacturer category.
30
VirtueMart User Manual
5.5.2. Manufacturers
Adding Manufacturers
To create a new manufacturers, select "Manufacturer | Add Manufacturer" in the VirtueMart admin
menu.
URL http://www.example.com
Editing Manufacturers
To edit an existing manufacturer, select "Manufacturer | List Manufacturers" to see a list of all
manufacturers. You may also get to this screen by clicking on the linked text, "Manufacturer List", in
the Manufacturers column on the Manufacturer Category List screen.
Click on the name of the manufacturer you would like to edit, or click on the linked text "update" in
the Admin column - either will take you to the same Manufacturer Add Information form. Make your
changes in the Manufacturer "Add Information" form (described above), and click on the "Save" icon.
You will be returned to the Manufacturer List screen.
Deleting Manufacturers
Before deleting an existing manufacturer, all products associated to that manufacturer must be
removed through either deletion or re-association to another manufacturer. VirtueMart will not allow
the deletion of a manufacturerwhile these child records still exist for that manufacturer.
Once these child records have been removed, select "Manufacturer | List Manufacturers" to see a
list of all manufacturer. Then click on the name of the manufacturer you would like to delete. In
the Manufacturer Add Information form, click on the "Remove" icon. You will be returned to the
Manufacturer List screen.
Once this manufacturer has been deleted, it is removed from the system. To recover this manufacturer,
you must re-create the manufacturer information, and re-associate all appropriate products.
31
VirtueMart User Manual
List Categories
To modify an existing category, click on the name of the category you want to edit in the category list.
Category Name The name that will be used to identify the category.
Category Description The description that will be displayed for the category.
32
VirtueMart User Manual
Parent The parent category with which this category will be associated.
If the category is to be a top level category, leave the Parent drop
down list with the Default Top Level selected.If the category is to
be a sub category of an existing category, choose the appropriate
parent category from the Parent drop down list.
Show x products per row The number of products per row when displaying products of
this category.
Note
The Browse Page usually has to be adjusted when the
number of products per row has been changed. You can
use browse_2 for 2 products per row, browse_3 for 3
products per row and so on (maximum per default: 5).
Note
You should leave this field empty when you're not sure
what to fill in.
• Use the blue arrows in the category list to move a category up or down
• Use the input fields in the rows of the category list to change the list order. If you have finished
changing the values, click on the "Save" icon in the column header.
• Use the "sort alphabetically" icon in the list header. You can sort all categories in your store
alphabetically using this functionality. Please note that this can't be undone. Once the categories are
reodered you would have to change back manually.
33
VirtueMart User Manual
Categories can be removed from the store although they contain products. If products are assigned
to more than one category, those products won't be removed if you delete just one category. But if a
product is just assigned to one category, it will be deleted if you delete its category.
Removing a category can be done by clicking the "trash bin" icon in the last column of each row in
the product category list. But you can also click the checkboxes of the categories you want to remove
and click the "Remove" button in the toolbar.
5.6.2. Products
When creating your product records, it is important to make a distinction as to whether the product that
is being created can be uniquely identified by its nature or name (e.g. Compact Disks, Video Cassettes,
Books, etc.), or is one of many similar items that are uniquely identified by their attributes (e.g.
Apparel, Furniture, Automobiles, etc.). The reason this distinction needs to be made, is because the
methods for creating, editing and deleting differ for each. Items require the creation of Item Attributes,
but products do not.
To create a new product, click on "Products" => "Add Product" to display the product form. Complete
the product entry form and click the Save button in the top right corner to save the new product.
When Updating a product, just click on the Product Name in the Product List to display to Product
Form of that product.
34
VirtueMart User Manual
Product Form
Publish? Used to specify whether the product will be published on the site.
URL A URL that can be displayed with a product. Usually used as a link to
the product vendor or manufacturer.
Category The product categories with which this product will be associated.
Retail Price The price for the default Shopper Group. Just fill in a decimal number.
Select the Product Currency from the drop-down list at the right.
VAT ID The ID of the tax rate that will be applied to this product. Here you
can select a specific tax rate for this product. If you don't want that this
product is taxed, fill in a zero weight at "product weight" and Disable
"Virtual Tax".
Short Description The short description that will be displayed on the browse (overview)
page for a category or search result.
Flypage Description This is the details description that will be displayed on the Flypage
(=details page) of this specific product.
35
VirtueMart User Manual
Display Options
Product Status
Quantity in Stock The current quantity in stock for the item. Used for shipping
and inventory purposes.
Availability Date When the current quantity in stock is available for distribution.
Used for shipping and inventory purposes.
Availability Text / Image This is used to display it on the product details page. E.g.: "48
hrs." or "On Order". Alternatively you can select an availability
image from the drop-down list below.
Tip
You can use your own images here! Just copy them
to the direcory /shop_image/availability and then you
can select them here.
36
VirtueMart User Manual
On Special? (Featured?) Used to indicate whether there are any specials running for the
product. When checked, this product will be displayed on the
"Featured Products Module".
Discount Type The type of special being run on the product. Select a discount
from the discount list. When there are no discounts, create one
using the Product Discont Form.
Unit of Measure - Dimensions The unit of measure used in determining the LWH of a product.
Used for shipping purposes.
37
VirtueMart User Manual
Unit of Measure -Weight The unit of measure used in determining the weight of a
product. Used for shipping purposes.
Important
Allowed UOM are
po / pound(s)
kg /kilogram(m)(s)
ou / ounces
lb / LB
Thumbnail A thumbnail image that can be displayed along with the product.
Full Image A larger image that can be displayed along with the product.
Note
If you have enabled Dynamic Thumbnail Resizing, the Thumbnail here won't be
automatically created from the Full Image!
Related Products
Related Products are assigned to a product to indicate a general relationship of some kind. Related
Products can be accessoires or other types or a similar product.
38
VirtueMart User Manual
Now you're done. Just click on "Save" to make sure the changes are stored.
VirtueMart allows a comfortable, automated mass Import of products using CSV- and Excel-Files.
Note
You can't import product images using this import, but just the names of the image files.
You still need to upload the images into the product image directory. Thumbnails won't be
automatically created.
The CSV Import Documentation can be found under the CSV Import/Export form ("Products" =>
"Use CSV Import/Export").
To delete an existing product, click on "Products" -> "List Producs" at the top of the VirtueMart
Administration pages to display a list of product categories. Now click on the Trash Icon in the row
of the product you want to delete and confirm that you "want to delete this record".
The standard Product Price for the default Shopper Group can be set and modified in the Product Form.
39
VirtueMart User Manual
You can also directly add and modify Product Prices from the Product List. Just click on one of the
Price Entries with the yellow background. This opens a Price Form where you can select Currency
and Shopper Group this Price is for.
Each time you change the Shopper Group from the Drop-Down List, the Form refreshes. If the Price
Field is empty, there's currently no Price for this Shopper Group.
You must save your Changes for the Price of a certain Shopper Group before you switch to another
Shopper Group or your Changes will get lost.
40
VirtueMart User Manual
To add Prices for Quantity Ranges, you need to go to the Product Price List, which is available from
the toolbar in the Product List.
You can also access the Price List for a Product from its Product Form. Just click on "List Prices" as
shown in the following figure.
In the Price List for this Product you can find a List of all available Prices, for Shopper Groups and
Quantities.
That's where you have a great Price overview. In this List you can modify existing Prices by clicking
on a Group Name or add new Prices by clicking on the "New" button in the toolbar.
41
VirtueMart User Manual
In the Product Price Form you can choose the Price, the Shopper Group and the Quantity Range this
Price is valid for. If you leave the Quantity Fields empty, the Price will be independent from the
Quantity in Cart.
42
VirtueMart User Manual
Prices can only be delete from the Product Price List. How to access this List can be read in the Section
"Adding or Modifying Prices".
In this List you can click on the Trash Bin Icon at the end of the row of each Price Entry to remove
a Price. You can also select multiple Prices using the Checkboxes and then click on "Remove" in the
Toolbar.
To create a new product attribute, click on "Products" => "List Products" to display a list of all
products. Then click on the name of the product for which the attribute is being created to display
the product entry form for that parent item. Then click on the "Add Attribute" button on the top of
the screen. A new window will open displaying the attribute entry form. Complete the attribute entry
form and click the Save button at the top of the form to save the new item attribute. Next, you need to
define the new attribute for the items. Click on the name of an item to display the product entry form
for that item. Populate the new item attribute field in the product entry form and click on the Save
button at the end of the form to save the new item attribute definition.
To edit an existing product attribute, click on "Products" => "List Products" to display the list of
products. Then click on the name of the parent product for which the attribute is being edited to display
the product entry form for that parent product. Then click on "Products" => "Current Product" => "List
Attributes" in the top menu. A new window will open displaying a list of product attributes assigned
to the product selected. Click on the name of the attribute you want to edit to display the attribute entry
form for that attribute. Complete the attribute entry form and click the Save button at the top of the
form to update the item attribute.
To delete an existing product attribute, click on "Products" => "List Products" to display the list of
products. Then click on the name of the parent product for which the attribute is being edited to display
the product entry form for that parent product. Then click on "Products" => "Current Product" => "List
Attributes" in the top menu. A new window will open displaying a list of product attributes assigned
to the product selected. To delete an attribute, click on the Trash Bin icon in the last column of the
row of the attribute you want to delete.
43
VirtueMart User Manual
have to set up at least one attribute first. Hence, it is only after you have added an attribute that the
‘New Item’ toolbar button and its related menu option appear.
Adding Items
To create a new item, a parent product must exist / be created first. When completing the form, keep
in mind that the product information, product dimensions, and product images entered here are the
ones that will be displayed initially for all items. Once a specific item is selected by the customer, the
product information, product dimensions, and product images for that item will be displayed. Next,
the attributes that will be used to identify the items need to be created. Open the Product Form of the
Parent Item you create in the first step.
Click on "Add Attribute" and a new window will open displaying the Attribute Form. Complete the
attribute entry form and click the Save button in the toolbar to save the new item attribute. Once all
item attributes have been defined, it is time to create the individual items (=child products!).
Click on the Add Items button in the toolbar to display the product entry form for the specific item.
This form is the same as previous product entry forms only the vendor and category fields have been
populated for you, and item attribute fields for the attributes you have defined are now available.
Complete the product entry form and click the Save button in the toolbar to save the new item.
44
VirtueMart User Manual
Editing Items
To edit an existing item, open the product List and click on the "Item Information" Link behind a
Product. You will be presented a List of all Child Items of that product. If you want to make changes
to a specific item, click on the name of the item you want to edit to display the item entry form for that
item. Make your changes and click the save button at the end of the form to update the item. Click on
the Return to Parent Product link at the top of the page to edit another item.
Deleting Items
To delete an item, List the Product's Items like in the previous section. Then click on the basket at the
end of the row of the item you want to delete. If you want to delete all items, you must delete each
item before deleting the parent item.Once all items have been deleted, click on the Delete button at
the end of the product entry form of the parent item to delete the parent item.
45
VirtueMart User Manual
The image icon is the link to the file manager. The number behind the icon is the total number of all
files assigned to this product.
The File List for a Product contains all files currently assigned to the product. Files can have different
"roles" like "downloadable file (to be sold!)", "additional file" and "additional image".
To add a new file, let's say an .mp3 file which is the file we want to sell, we just open the file form
by clicking the "New" button in the toolbar of the file list.
46
VirtueMart User Manual
You have the chance to upload a new file, which makes sense if you just upload a smaller image or
product specsheet.
Note
If you want to assign a bigger file (maybe a 8MB mp3 file) you need to upload the file using
an FTP program into the directory you have specified for downloadable product files (see
Configuration). After you have done this, you can select the file from the drop-down list in
the file form.
Discounts in VirtueMart must be created in the Product Discount Form before being able to assign
a Product to a specific Discount.
Caution
When updating a discount, your changes apply to all products which are assigned to this
discount.
47
VirtueMart User Manual
Discount Amount (required) This is the amount of discount you want to have subtracted
(added) from the product price.
Discount Type (required) The Discount Type specifies how the amoung is handled: either
as a percantage or as a total amount. If you select "Percentage",
the amount will mean that you give a Discount of XX % to
the Product Price. If "Total" is selected, the amount will be
substracted (added) from the Product Price.
Start Date (optional) By clicking on "..." you can specify a date from the calendar,
which will be the first day, the Discount is calculated and shown
to the customer. The Start Date is no must. You can also only
have an End Date or leave this field blank when this discount
shall begin instantly.
End Date (optional) If you have specified a Start Date, you'll surely want an End
Date - that would be something like "Sale". So click on "..."
and specify the last Day of the Sale from the calendar. You can
also only have an Start Date or leave this field blank when this
discount is not limited.
48
VirtueMart User Manual
Deleting a Discount
You can easily delete a discount. Note that this removes the Discount from all products which are
assigned to it.
Just go to the Product Discount List and click on the Trash Icon of the row of the Discount you want
to delete at the right side of the List. Confirm that you "want to delete this record" and done.
Important
Always use the VirtueMart User Manager for Adding / Editing and Deleting Users to / from
your Joomla! site! If you use Joomla's built-in User Manager you will run into troubles
because important database entries are not created for such users. So for the other case: When
you delete Users with the Joomla! User Manager from the site that have been added with the
VirtueMart User Manager, you will have a lot of useless database entries.
VirtueMart also provides the ability to create any number of addresses for a particular user. Not only
can a user have separate bill to and ship to addresses, but addresses for home and business as well.
Note
There's only one "default" shopper group. Whatever shopper group you set as default, its
settings are used for new customers. New customers are automatically assigned to the default
shopper group.
You can add and modify shopper groups in VirtueMart using the Shopper Group List, which can be
accessed through the menu: "Shopper" => "List Shopper Groups".
49
VirtueMart User Manual
To add a new shopper group, just click on the "New" button in the toolbar. In the following shopper
group form just fill out the necessary fields.
Note
You can't delete shopper groups, which still has customers assigned to it.
5.7.2. Users
50
VirtueMart User Manual
When can this be useful? Imagine you have a user, who wants to access the "Report" section of
the store. Usually this is restricted to admins and stoeradmins. If you assign this user to the admin/
storeadmin group, he will also be able to access other sensible parts of the store, where he could change
or delete important data. The solution is to add a new User Group called "Report", which will have
the same permissions as shoppers PLUS access to the "report" core module. After the Group has been
added, you can assign this user to the new group.
User Groups can be added, modified and deleted from the User Group List ("Admin" => "User
Groups").
You can click on the name of an existing group to open the user group form.
Note
The groups "admin", "storeadmin" and "shopper" are key groups in VirtueMart and can't be
modified nor removed.
You can add a new Group by clicking on the "New" button in the toolbar. This opens the User Group
Form:
Here you can choose a name for the group and the group level.
Note
The higher the group level, the less permissions are assumed: "admin" has higher permissions
than "storeadmin", because the group level number is lower.
After you have saved the user group, it is available in the core module and function list/forms.
51
VirtueMart User Manual
Now you can start to grant permissions to this new group by checking the boxes in this list for the
column of the "New Group".
Important
The same needs to be done for the function list of each module!
The User Field Management can be accessed via "Admin" => "Manage User Fields".
You can add a new field by clicking the "New" button on the toolbar. The Field Form allows you to
choose from various field types like "text field", "checkbox", "textarea", "date", "drop down", "email"
or "EU VAT ID". In our example we will add a new field where users from the EU can fill in the EU
VAT ID of their company if applicable.
52
VirtueMart User Manual
Table Field Name The name of the column that will be inserted into
the table structure of the tables "jos_vm_user_info" and
"jos_vm_order_user_info" in your database.
Show on Account? This defines wether the field is shown in the account
maintenance form or not.
User Read Only? If this is set to yes, the field is read-only and can't be changed
by the customer.
Show at Registration? If this is set to yes, the field will be shown in the registration
form.
53
VirtueMart User Manual
Max Length This is the maximum number of characters that can be filled
into the text field.
Move the customer into the Here you can select into which shopper group the newly
following Shopper Group... registered customer is moved when the EU VAT ID has been
succesfully validated.
If you are finished filling in the necessary values, don't forget to Save your changes.
Here is a screenshot of the newly added field "EU Vat ID" in the registration form:
Reordering Fields
Fields can be reordered using the blue arrows in the user field list or using the text input fields in
each row of the list:
If you have used the input fields to change the ordering of the fields, you must apply your changes by
clicking the Save Icon in the top of this column. After that the fields will be reordered.
54
VirtueMart User Manual
You can publish and unpublish fields by clicking on the icon in the column "Published". After that
the publish state will be toggled.
Changing Fields
You can access the field form by clicking a field name in the User Field List. In this form you can
modify all settings except the field type.
The order record has a ‘status’ to indicate where the order is in the stream of events – for example,
whether it has been paid for, shipped, or cancelled. The actual values you use for status are up to you,
but by default you are given status values of Pending, Confirmed, Cancelled, Refunded, and Shipped.
If you want to define your own status values, you can do so by selecting "List Order Status Types’
from the ‘Order Status’ sub-menu of the "Orders" menu.
55
VirtueMart User Manual
To view all of the orders in the system, click on "List Orders" on the "Orders" menu. This takes you
to the Order List which is illustrated in the next figure.
When you click on an order number, you are given the full details of the order as shown in the next
figure.
When you click on the name of the customer, you will be taken to the user form for this user. The
Print View Link opens a new window that allows you to print out the order. In the status column you
can see the current status of this order. You can change this value and after that click on the "Update
Status" button to the right to update the order status. If you wish to notify the customer about this
action, check the option "Notify the customer?".
To delete an order, use the Trash Bin icon in the last column or select multiple orders using the
checkboxes in the first column and click on "remove" in the toolbar.
The Order Details View shows all details which are relevant to the store owner. You have three tabs
in the upper part: Order Status Change, Order History and Modify Order.
56
VirtueMart User Manual
In this part of the order details screen you see the list of all purchased products. If the products are
downloadable products, you can re-send the Download Notification Email or re-initiate the downloads
if the maximum download number has been reached or the download period has expired.
You can also change the order status for single order items using the status drop-down list in each
row of the order item list.
Vendors and Vendor Categories represent the top most tier of VirtueMart administration. Through
vendor administration, the store keeper is able to manage products, users, and orders by vendor or
supplier.
For simple stores where there are only a few products offered, vendor administration is not necessarily
needed, but for larger more complex stores, such as an online mall, vendor administration can be
essential.
Since all products, product categories, users, and orders are associated to the vendor record,
establishing the vendor and vendor category structure is the first step to building the online store.
Note that it is not necessary to create the vendor categories first. Vendors can be re-associated to vendor
categories after all the vendor records have been created. However, creating the vendor category
records first can save some extra work if you already know how you want to categorize your vendors.
57
VirtueMart User Manual
Note that a vendor on your site can only be associated with a single vendor category, so it is important
to use categories that are broad enough to represent the shopper's choice of storefronts. For example,
"Antique Furniture" and "Vintage Clothing" would not be broad enough categories if you have a
vendor that sells both types of items. In this case, you might want to use "Antiques" as your vendor
category.
VirtueMart creates the vendor category name "-default-" upon installation. It is not necessary to change
this unless you choose to fully utilize the vendor category functionality.
Vendor Category Name The name used to identify the vendor category.
58
VirtueMart User Manual
You will be redirected to the "Vendor Category List" page, showing the "-default-" category, and the
new category you just entered.
You may also add a new vendor category with the Vendor Category Form by clicking on the "New"
button in the toolbar.
To edit an existing vendor category, select "Vendor | List Vendor Categories" in the VirtueMart admin
menu. This will return the Vendor Category List screen (shown above). Click on the linked text
showing the name of the vendor category you would like to edit to bring up the Vendor Category Form.
When you have finished making changes, click on the "Save" button. You will be redirected back to
the "Vendor Category List" screen.
If you remove a vendor category all vendors in that category will be reassigned to the "-default-"
vendor category that was created upon installation. You can then re-associate the affected vendors if
needed, as described below under "Vendors".
To delete a vendor category just go to the Vendor Category List screen. Click on the trash can icon in
the "Remove" column next to the name of the vendor category you would like to delete.
59
VirtueMart User Manual
5.9.2. Vendors
Vendors are the main organizational factor in VirtueMart. Products and product categories, billing
options, etc. are all configured per-vendor.
Upon installation, a global, default vendor is created. This special case cannot be deleted, and is
managed separately via the "Store | Edit Store" menu option.
If you are running a shopping site for a single vendor (for example, if you are the only vendor that
will be offering products in your store) then there is no need to create additional vendors. If, however,
you will be running an online mall site that will be host to several vendors, then create one vendor
account for each storefront owner.
It may be worth noting here that you should not confuse vendors with manufacturers. A single vendor
may have a different manufacturer for each product that they offer. If the person supplying the
products on your site will be managing their own shipping, etc., then they are a vendor. If you will
be managing these aspects, then the supplier is a manufacturer. (See Manufacturer Administration for
more information on that topic).
Minimum purchase order value This is the amount which is the minimum Order Value for
Checkout.
60
VirtueMart User Manual
Minimum Amount for Free This is the amount, from which on Shipping is free.
Shipping
Currency symbol This is the currency symbol which will be used when displaying
prices.
Thousands separator
Terms of Service This is the complete text for your Terms of Service that is
displayed to the customer.
Last, First & Middle Name The Name of the Vendor's Contact Person.
61
VirtueMart User Manual
Click on the name of the vendor you would like to edit, or click on the linked text "update" in the
Admin column - either will take you to the same Vendor Add Information form. Make your changes
in the Vendor "Add Information" form (described above), and click on the "Save" icon. You will be
returned to the Vendor List screen.
Important
Since vendors represent the top most tier of site management, deletion of vendors should be
avoided unless absolutely necessary.
Before deleting an existing vendor, all products, product categories, users, and orders associated to
that vendor must be removed through either deletion or re-association to another vendor. VirtueMart
will not allow the deletion of a vendor while these child records still exist for that vendor.
Once these child records have been removed, select "Vendor | List Vendors" to see a list of all vendors.
Then click on the name of the vendor you would like to delete. In the Vendor Add Information form,
click on the "Remove" icon. You will be returned to the Vendor List screen.
Once this vendor has been deleted, it is removed from the system. To recover this vendor, you must
re-create the vendor information, and re-associate all appropriate product categories and products.
There are two Tax modes available in VirtueMart: Based on vendor address and Based on shipping
address. Depending on which option you select, you should configure Tax Rates for the locale of each
vendor as entered in the "Vendor Information Form" (described above), or for each country or state
you plan to have customers from (that you wish to calculate taxes for).
Next make changes to the Tax Country, State or Region, or Rate fields as needed, and click on the
"Save" icon to save your changes.
Tax Rate changes will be placed into effect for all purchases moving forward.
Alternatively, you may pull up the Tax Rate List by selcting "Tax | List Tax Rates", and click on the
trash can icon in the "Remove" column next to the record you would like to delete.
62
VirtueMart User Manual
Tax State or Region The State or Region this tax rate will be applied to. If there is no region
listed for the country you are configuring a tax rate for, select the "Non-
USA / Non-Canadian / Not Listed" option.
If you don't need a state, but need more than one Tax Rate for a country,
just select some "dummy" state for each Tax Rate for that country.
The tax rate, as a decimal value. For example, 8.25% would be entered
as 0.0825
Click on the "Save" icon to add your new Tax Rate information.
It is wise first of all to think about how you will charge for postage and packing. The easiest way is
to have a fixed shipping price for all of your products, but this is not always practical – especially if
your products vary greatly in size and/or weight.
Not only do you need to think about shipping rates, but also shipping methods. Will you offer more
than one shipping method – eg. next day delivery as well as standard? DHL as well as Royal Mail?
Even if you decide to only use one company for all of your shipping, you still need to tell VirtueMart
about it. To set up a new ‘shipper’, select ‘Create Shipper’ from the ‘Shipping’ menu. This takes you
to shipper editor.
List order is just a numeric value which is used to sort the shipper names, so enter 1 for the shipper
that you want to be listed 1st, 2 for the one you want to be listed 2nd, etc.
When you have added the shipping companies you want to use, you need to configure the shipping
rates. You can set up different rates for different service levels (eg. next day, two day, first class etc.)
63
VirtueMart User Manual
or according to the weight of the shipment. You can also select whether to add VAT to the shipping
rate or not. All of this takes place in the Shipping Rate Editor – see next figure.
To edit or delete existing shipping rates, select ‘Shipping Rates’ from the ‘Shipping’ menu.
By clicking on the name of a shipping rate in this list, you can access the shipping rate form to edit
this shipping rate. To add a new shipping rate, click the "New" button in the toolbar.
64
VirtueMart User Manual
In this form you can specify the details of the shipping rate.
Shipping Rate Description This is the name of the Shipping Rate, displayed to the customer
in the checkout.
List Order The order of this shipping rate in the list of all other shipping
rates (numeric value).
ZIP Range Start The lowest ZIP / Postcode this shipping rate is valid for. Leave
empty if you're using non-numeric values!
ZIP Range End The highest ZIP / Postcode this shipping rate is valid for. Leave
empty if you're using non-numeric values!
Lowest Weight The lowest total weight in cart this shipping rate is valid for.
Highest Weight The highest total weight in cart this shipping rate is valid for.
Currency The currency, which applies to the costs you have filled in
above.
VAT ID Here you can select a tax rate which is applied to this shipping
rate. If you select "none", no tax will be applied.
The area of payment processing can get a bit complicated, and it might be best to leave this to your
web designer to sort out if possible. If you are able to use one of the payment processing companies
that are already supported by VirtueMart, it will make life a lot easier (you will need to sign-up with a
payment processor yourself – the program won’t do that for you!). You can see the options available
by clicking on the ‘List Payment Methods’ icon on the store summary, or by selecting ‘List Payment
Methods’ from the ‘Store’ menu.
65
VirtueMart User Manual
It is possible to create a new payment method (there is a ‘New’ toolbar button), but you may to hack
the VirtueMart code in order to make use of it (not for the faint-hearted!)
The configuration options for each payment method are different – depending on what is required
by that payment service provider. Usually your payment service provider will give you some kind of
code, key, or user name which needs to be entered in the Payment Method Editor.
The Payment Method Editor consists of 2 tabs – the first of which you will probably not need to touch.
The next Figure shows the 2nd tab (‘Configuration’), which varies depending on the payment service
provider, and the example shown here is for WorldPay.
66
VirtueMart User Manual
Some payment processors will allow you to specify a script to be run on successful completion of a
payment. Such a script could be used to automatically update the order status in VirtueMart so that
you don’t have to manually tie up all of your online receipts with your product orders.
Another advantage of this process is that when you're selling downloadable files, you don't have to set
the Order Status that enables the Download (this sends out the Download-ID email) manually. This
is done automatically by the script.
See the Section "Pre-Configured Payment Methods" for more details on specific payment gateways.
Other payment service providers may use different methods of automatically notifying you when a
payment is received. Again, it is probably easiest to get your web designer to sort out the requirements
for this, but if you need to do it yourself, check with your payment service provider as to what
their requirements are. Often, automatic notification is referred to as ‘IPN’ or ‘Instant Payment
Notification’.
5.12.3.1. PayPal
www.paypal.com [http://www.paypal.com]
67
VirtueMart User Manual
PayPal integration is made using a Webform that transfers the customer to the PayPal site.
This payment method allows automatic Order Status Updates. There's a file in /administrator/
components/com_virtuemart/ which is called notify.php. You will need to enter the
appropriate URL (web address) for the script file in PayPal’s control panel. When a customer finishes
the Payment, the PayPal server connects to this script on your server. When the transaction AND the
payment have been successful, the order status is automatically updated to the status you have set in
the PayPal configuration form.
5.12.3.2. Worldpay
www.worldpay.com
Worldpay integration is made using a Webform that transfers the customer to the Worldpay site.
5.12.3.3. authorize.net
www.authorize.net
This payment module uses the authorize.net AIM method, which means that the customers stay on
your site and enter all Credit Card details. When the order is being completed, the Payment Module
connects with authorize.net and tries to initiate the Money Transfer using the Payment Details of the
buyer and your account details that you have set up in the configuration panel for authorize.net.
5.12.3.4. 2Checkout
http://www.2checkout.com
This payment module acts very similar to the PayPal Payment Module: It transfers the customer to
www.2Checkout.com where all payment details can be entered. After that the customer is directed
back to your site. But before you must make the following steps:
1. Fill in your details for 2Checkout in your Shop, "Store" => "Payment List" => "2Checkout".
68
VirtueMart User Manual
For the field Secret word just choose a secret word (without spaces!! max. 16 characters), fill it
in and keep it in mind.
5. Fill in the secret word from Step 1 into the Field Secret Word.
YOUR_JOOMLA_PATH/2checkout_notify.php
When those steps have been completed, you can use 2Checkout with automatic Order Status updates
on your site.
5.12.3.5. eWay
www.eway.com.au
The customers stay on your site and enter all Credit Card details. When the order is being completed,
the Payment Module connects with the eWay gateway and tries to initiate the Money Transfer using
the Payment Details of the buyer.
5.12.3.6. Paymate
...
5.12.3.7. eProcessingNetwork.com
www.eProcessingNetwork.com
5.12.3.8. NoChex
...
5.12.3.9. PayMeNow
...
69
VirtueMart User Manual
To add a new coupon, click the "new" button in the toolbar. The coupon form shows up.
Now you need to fill in the necessary value for the new coupon:
Coupon Code This is the "code" a customer needs to fill in to redeem this coupon. This
can be a simple word or a secret string with numbers and characters.
Percent or Total Here you can choose wether the coupon value is a percentage of the cart
total or a fixed total value.
Coupon Type There are two types of coupons: Gift Coupons and Permanent Coupons.
Gift Coupons are removed from the database once they have been used to
place an order. Permanent Coupons can be used for campaigns, because
they can be used again and again until you remove them from the coupon
list.
70
VirtueMart User Manual
5.14. Reports
VirtueMart comes with a basic and self-explaining Report Module. It allows you to view the product
sales of a specific time range.
6. Known Problems
See Bug Tracker [http://virtuemart.net/index.php?option=com_flyspray&Itemid=91]
7. To-Do List
7.2. General
• improve performance
• improve Security
• Clean up code
• XHTML compliance
• Clean up checkout
8. About
8.1. The Project
VirtueMart is an Open Source E-Commerce solution for Joomla! and Mambo.
VirtueMart is released under the GNU Public License. It is free to download and use.
There's a small group of developers who help in making this Shopping Cart Script more professional
and easily usable. The author of this documentation is the Lead Developer...and having not much time
besides Wife, Work & Studies.
History: VirtueMart is the successor of mambo-phpShop. mambo-phpShop was the first port of
phpShop to Mambo. phpShop was developed by Edikon Corp. [http://www.edikon.com] and the
phpShop community - http://www.phpshop.org.
71
VirtueMart User Manual
You can send your code snippets, hints and anything else helpful to the Homepage of the project:
http://virtuemart.net [http://VirtueMart.net].
There's also an active Forum, where discussion and bug reporting can take place: Forum [http://
www.VirtueMart.net/index.php?option=com_smf&Itemid=71].
DocBook defines a set of markup elements useful for marking up text so that the text can then be
transformed into several different formats. It's possible to create documents in different formats: PDF,
HTML, HTML Help (.chm Files for Windows Help), XML, RTF, TeX, WordML (Word 2003) and
others. The author of this document uses eDE [http://docbook.e-novative.de/] for generating the End-
User documents. The idea is to write just once and reach the largest possible number of people with
the information. Digital information not stored properly tends to get lost. Due to the fact that not
containing uncommon characters (such as binary formats) it's possible to index and search directly on
the documents written on SGML and consequently on DocBook. The SGML systems use markups
to make their description. DocBook holds over 300 markup elements each one with several attributes
which can assume several values, these can be fixed or defined by the document / style that the author
has used.
72