1.1. Server Requirements
As VirtueMart is only a plugin for Joomla!, it has the same System Requirements, which are:
• Joomla! 1.0.x or Mambo (>= 4.5.1) recommended: Joomla! 1.0.x
• PHP 4.2.x or above - http://www.php.net recommended: PHP 4.4.x
• MySQL 3.23.x or above - http://www.mysql.com recommended: MySQL 4.0.x
• Apache 1.13.19 or above - http://www.apache.org recommended: Apache 2.x
You must ensure that you have MySQL-, XML- and Zlib-Support built into your PHP. Support for https (openSSL) and cURL is recommended!
1.2. Client Requirements
VirtueMart can be used with most major browsers including: Internet Explorer (version 5.5+), Firefox,
Opera, Safari and Konqueror. Javascript doesn't need to be enabled when shopping and checking out.
The administration section requires Javascript to be enabled.
The browser needs to be capable of accepting Cookies.
2. Installation and Upgrade
New Installation
When having met all the requirements and when you are running Joomla! or Mambo you have two choices:
1. The automatic installation with Joomla's / Mambo's Element (Component-, Module-, Mambot-)
Installer.
2. The manual installation.
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.
Upgrade from mambo-phpShop
You want to upgrade to VirtueMart from mambo-phpShop? This is easy.
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!
Upgrade from VirtueMart 1.0.0-1.0.5
We have fixed a lot of bugs! An upgrade is highly recommended. Just get the "Patch Package" for
your current VirtueMart version and overwrite your exising files with the ones from that package.
The are two small changes to the database, so you must run the following SQL queries on your database
to update it.
Just open phpMyAdmin and run those queries:
#############################################
# SQL update script for upgrading
# from VirtueMart 1.0.x to VirtueMart 1.0.5
#
#############################################
ALTER TABLE `jos_vm_product_mf_xref` CHANGE `product_id` `product_id` INT( 11 ) ALTER TABLE `jos_vm_orders` ADD `order_tax_details` TEXT NOT NULL AFTER `order_tax`;
# Allow Shopper group discounts up to 100.00%
ALTER TABLE `jos_vm_shopper_group` CHANGE `shopper_group_discount` `shopper_group_# Allow bigger discounts than 999.99
ALTER TABLE `jos_vm_product_discount` CHANGE `amount` `amount` DECIMAL( 12, 2 ) # Allow prices up to 9 999 999 999.99
ALTER TABLE `jos_vm_product_price` CHANGE `product_price` `product_price` DECIMAL( # Adjust order item price
ALTER TABLE `jos_vm_order_item` CHANGE `product_item_price` `product_item_price
# Adjust order item final price
ALTER TABLE `jos_vm_order_item` CHANGE `product_final_price` `product_final_price` # Adjust order total, allowing totals up to 9 999 999 999 999.99
ALTER TABLE `jos_vm_orders` CHANGE `order_total` `order_total` DECIMAL( 15, 5 ) ALTER TABLE `jos_vm_orders` CHANGE `order_subtotal` `order_subtotal` DECIMAL( 15, # Allow larger coupon amounts
ALTER TABLE `jos_vm_orders` CHANGE `coupon_discount` `coupon_discount` DECIMAL( ALTER TABLE `jos_vm_coupons` CHANGE `coupon_value` `coupon_value` DECIMAL( 12, 2 # Allow larger payment discounts
ALTER TABLE `jos_vm_orders` CHANGE `order_discount` `order_discount` DECIMAL( 12, ALTER TABLE `jos_vm_payment_method` CHANGE `payment_method_discount` `payment_method_UPDATE `jos_components` SET `params` = 'RELEASE=1.0.5\nDEV_STATUS=stable' WHERE If you have another database prefix than "jos_" you must change the "jos_" to your prefix (mostly
'mos_' then).
The queries can be found in the file /sql/UPDATE-SCRIPT_VirtueMart_1.0.xto-
VirtueMart_1.0.3.sql and /sql/UPDATE-SCRIPT_VirtueMart_1.0.3-to-
VirtueMart_1.0.5.sql.
3. Automatic Installation
VirtueMart is a complex script. It's not component-only, but also requires a Module. So it comes to
you in a file called 'VirtueMart_x.x_COMPLETE_PACKAGE.zip'. This file contains various
Elements for VirtueMart.
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)
• 1 Main VirtueMart module (mod_virtuemart_x.x.tar.gz)
• 10 additional Modules
• 2 Mambots (1 Search, 1 Content Mambot)
1. Unpack the file 'VirtueMart_x.x_COMPLETE_PACKAGE.zip' to a local directory.
2. Log in into Mambo's Backend (using the URL ' http://joomla_url/administrator') to
access the administrative interface.

You need to have the priviliges of an Administrator / Superadministrator to install Elements.
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.
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.
4. Alternative: You can unpack the contents of 'com_virtuemart_x.x.tar.gz' and upload
those files to a remote directory using a ftp connection. Now specify the directory on the server
from where you want to install the files and click 'Install'.
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.
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.
Publishing the Module:
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"
It can display the product categories you have set up.
mod_productscroller "Product Scroller Module"
It can scroll certain products somewhere on your site using a
marquee tag.
mod_virtuemart_allinone "All-in-one module"
Can display the latest, featured, top-ten or random products in
one module using tabs.
mod_virtuemart_cart "Mini-Cart Module"
Displays the mini-cart for the customer with a link to the cart
page.
mod_virtuemart_featuredprod "Featured Products Module"
Can display featured products in your store. Featured products
are those which are "on special".
mod_virtuemart_latestprod "Latest Products Module"
Displays the newest products in your store.
mod_virtuemart_manufacturers "Manufacturer Module"
Shows all manufacturers from your store with a link to find all
products of the selected manufacturer.











