Home Web-development Joomla! E-Commerce with VirtueMart

Joomla! E-Commerce with VirtueMart

By Suhreed Sarkar
books-svg-icon Book
Subscription
$10 p/m for first 3 months. $15.99 p/m after that. Cancel Anytime!
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats, plus a monthly download credit
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with video?
Stream this video
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
What do you get with Exam Trainer?
Flashcards, Mock exams, Exam Tips, Practice Questions
Access these resources with our interactive certification platform
Mobile compatible-Practice whenever, wherever, however you want
BUY NOW $10 p/m for first 3 months. $15.99 p/m after that. Cancel Anytime!
Subscription
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats, plus a monthly download credit
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with video?
Stream this video
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
What do you get with Exam Trainer?
Flashcards, Mock exams, Exam Tips, Practice Questions
Access these resources with our interactive certification platform
Mobile compatible-Practice whenever, wherever, however you want
  1. Free Chapter
    1. Introduction to Joomla! and E-Commerce
About this book

VirtueMart is a widely used component for adding e-commerce to a Joomla! site. VirtueMart covers all the aspects of e-commerce in an easy-to-use fashion and allows administrators to configure the various factors such as those of the shop, selling workflow, payment, products, and more. It also has many other features, which include managing customers and orders, so that every aspect of the shop is handled on-line for your comfort.

This book demonstrates the setting up of an on-line Joomla! e-commerce site from scratch using VirtueMart. It focuses specifically on e-commerce and VirtueMart. It teaches all the aspects of quickly setting up a feature-packed, easy-to-build e-commerce site—from basic installation and configuration of Joomla and VirtueMart through adding features step-by-step to an example web site to deployment.

The book begins with an introduction to VirtueMart with an explanation of its capabilities and how you can use it to earn money from your Joomla! site. This is followed by the necessary installation and configuration of Joomla! and VirtueMart to enable you to lay the foundation of your web site. Then it explains configuration of the VirtueMart store, which includes payment and shipping methods, configuring zones, and currencies.

The book then looks at managing products, customers, and orders, and customizing the web site appearance, all through demonstration so that you can build your own store with minimum effort, investment, and time. It also illustrates the promotion and public-relations factors such as banner ads, featured products, coupons, and more, so that you can build a wide customer base. It follows this up with examples of more advanced features such as localization and using extensions for bulk import/export of products to your VirtueMart shop, to suit your individual store needs. Maintenance, troubleshooting, and security, which are essential for running your site, are also explained. There is also an Appendix provided for configuring shipping and payment modules.

Publication date:
March 2009
Publisher
Packt
Pages
476
ISBN
9781847196743

 

Chapter 1. Introduction to Joomla! and E-Commerce

Joomla! is an award winning Content Management System (CMS) used for building multiple types of web sites, including e-commerce sites. Joomla!'s base functionalities are extended through the use of components, plugins, and modules. There are several components for adding e-commerce functionalities to a Joomla! site. The VirtueMart is one of the widely used components for building a multipurpose online shop. This chapter is going to introduce Joomla! and VirtueMart, along with some other such components. On completion of this chapter, you will be able to:

  • Describe what Joomla! is
  • Describe the main features of Joomla!
  • Describe e-commerce options in Joomla!
  • Describe VirtueMart and its features
  • List alternatives to VirtueMart
  • List which other shopping carts can be used with Joomla!
 

What is Joomla!?

You have picked up this book to implement e-commerce functionalities in Joomla!. This means you are already familiar with Joomla! and you already know what Joomla! is. However, to be clear, some of us may need to know what Joomla! is. Let us see how Joomla! is defined on its web site http://www.joomla.org:

Joomla! is an award-winning CMS that will help you build web sites and other powerful online applications. Best of all, Joomla! is an open source solution that is freely available to everybody.

The definition above briefly describes what Joomla! is. However, it is still far from listing its power and features. Joomla! is one of the best open source content management systems, which can be used for almost any purpose. Its robust architecture and extensibility make it popular among site builders, designers, and developers.

Joomla! is a fork of Mambo, another PHP-MySQL-based content management system. In August 2005, the OpenSourceMatters, Inc. (OSM), a not-for-profit formed under United States law, and exists to provide organizational, legal, and financial support for the Joomla open-source project. The word 'Joomla' originated from Swahili word jumla, which means "all together" or "as a whole". The name appropriately reflects the community spirit.

Joomla! 1.0.x was released at the end of the year 2005, with a revamped Joomla! 1.5.x being released in 2007. Joomla! 1.5 has many changes from its earlier codebase and application framework. However, there is still a mechanism to run extensions designed for Joomla! 1.0.x in Joomla! 1.5.x versions by enabling a plugin. This is better known as "legacy mode" in Joomla! 1.5.x. In the Joomla! Extensions directory, all components, modules, and plugins are marked as either Joomla! 1.5 Native, Joomla! 1.0, or Joomla! 1.5 Legacy, from which the developers know whether that extension will be compatible with their version of Joomla! or not.

Note

For more information on the Joomla! project and its history, please visit http://www.joomla.org. You will find detailed information about Joomla! and its functionalities. This book's scope is limited to implementing e-commerce functionalities in Joomla!. For a basic understanding of Joomla! administration, customization, and extension development, please consult other books published in Joomla! series by Packt Publishing listed at http://www.packtpub.com/joomla-books.

 

Main features of Joomla!

Joomla! is a very powerful, and probably the most popular, CMS. Its popularity is due to powerful features which enable users to easily and rapidly build and manage a rich web site. Following are some of the major features of Joomla!:

  • Easy installation and administration: Joomla! is easy to install and configure. Its web-based installer allows Joomla! CMS to be installed through a few steps. It has a rich graphical user interface for configuring and administering the site.
  • Separation between frontend and backend: The frontend and backend are clearly separated and protected with security authentication. The web site's user interface is presented as frontend, whereas all administrative and management tasks remain in the backend. Some of the common management tasks, such as editing owned articles, submitting articles, and so on, are also accessible from the frontend.
  • Access control: Joomla! uses authentication for management and administration tasks. There are different types of groups, with different set of access rights. For example, members of the Author group can have access to some components, submit their contents, and edit their own articles. Similarly, members of the Publishers group can edit, delete, or publish articles submitted by authors. Access rights can also be set while creating content items, menu items, and so on.
  • Easy templating system: Joomla! has an easy templating system which enables designers and developers to develop and customize Joomla! templates using some basic HTML, CSS, and PHP. The Joomla! templating system can apply separate templates for different sections and categories.
  • Easy extensibility through components, plugins, and modules: One of the greatest features of Joomla! is its extensibility. Joomla! has a large number of components, plugins, and modules which allow users to add functionalities appropriate for them. Joomla!'s application framework allows developers to build applications which can run as Joomla! components. At present, there are more than 4,200 extensions available for Joomla!, and these can be downloaded from a single source http://extensions.joomla.org.
  • Search Engine Friendly URLs: Joomla! can generate search engine friendly URLs from its core components. There are also some third party extensions for generating and managing SEF URLs in Joomla!.

There are many other features of Joomla! and with every release, the list of features continues to grow.

 

Use of Joomla!

Joomla! is used for multipurpose web sites ranging from personal blogs to enterprise portals. It has almost every functionality needed for building a customized web site that suits both an individual's needs, as well as enterprise's needs. Although Joomla! can be used as a blog, WordPress, or other popular blog engines, are usually used for personal blogs or blog style web sites. Here are some examples where Joomla! can be used and is also most suitable for:

  • Corporate intranets, web sites, or portals: Joomla! has excellent content management functionalities, which can enhance building corporate web site or portals, and help update and manage a site's content. Joomla!'s WYSIWYG editing screen allows even non-technical persons to add, edit, and update web contents at anytime, from anywhere, by just using a web browser.
  • Non-profit and organizational web sites: Joomla! can be a great tool for a non-profit organization's web site, as it gives freedom to customize the CMS and build it as they need. As Joomla! is open source and free, it also helps the non-profit organizations to minimize investment in building and maintaining web sites.
  • Small business web sites: Small businesses need web sites to advertise their presence to their customers. However, they usually need to do so with minimum investment in technology adoption. Free and open source Joomla! can help them jumpstart building their web site, without investing in highly priced commercial content management systems, or developing their own CMS.
  • Government, school, college, and charity web sites: Joomla! can be the best choice for government organizations, schools, colleges, and charity organizations as it is open source, and they have freedom to adopt it to their context. It also saves money for buying CMS.
  • Personal web sites or family homepages: In addition to company portals or online commerce, Joomla! can also be used as a simple personal blog or home page. Its blogging functionality enables it to be a primary choice for blogging software. Similarly, you can use it as a common web site for your whole family.
  • Community-based portals: Many community web sites are built on Joomla!. Joomla! has some excellent components, such as Community Builder, for building and managing a community web site. Users can register and express their views in a Joomla! community portal by blogging, posting to forums, exchanging personal messages, instant messaging, and even by building their own homepages.
  • Magazines and newspapers: Joomla! can be used for building web sites for daily newspapers and magazines. There are some components which help Joomla! turn into a newspaper or magazine site. Its design flexibility allows Joomla! to be used for such sites.
  • Online commerce: Joomla! can also be used as an online commerce site. There are many components which enable Joomla! to serve as an online shop, and implement other e-commerce functionalities. This book discusses details of implementing e-commerce functionalities in Joomla!. The following screenshot shows an online shop for selling books:
    Use of Joomla!
  • Multimedia Gallery: Joomla! can build stunning photo galleries, multimedia sharing, and podcasting sites. Several Joomla! components allow you to build a photo gallery, implement podcasting, and make your site like the YouTube video sharing site.

In fact, the possibilities for using Joomla! have no limit. You can use it for almost any purpose with some design modification and programming some code. There are already a range of components available for extending Joomla!'s functionalities, which can be used to build:

  • Document management systems
  • Image and multimedia galleries
  • Business directories
  • E-commerce and shopping carts
  • Forums and chat software
  • Calendar and event management software
  • Banner advertising, data collection, and reporting tools
  • Personal blogging and newsletter system

There are many other possibilities, like integrating some other open source applications to it, and thus, enhances its functionalities.

Note

You can learn more about extending Joomla! and adding its functionalities by reading the following books published by Packt:

  • Building Websites with Joomla! 1.5 by Hagen Graf
  • Learning Joomla! 1.5 Extension Development: Creating Modules, Components, and Plugins with PHP by Joseph L. LeBlanc
  • Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide by Tessa Blakeley Silver
 

Joomla! and e-commerce

There are various types of components and modules for Joomla! which can be used for e-commerce. Due to a large number of components available, e-commerce in Joomla! is not only limited to selling products, but it can also adopt other forms of e-commerce activities such as running affiliate shops, charging money for access to premium content, running an auction site, and so on. A brief overview of available components for such e-commerce activities are described in the following sections.

Affiliate carts

Affiliate carts are one form of e-commerce where you show products from other shops or catalogs. Visitors to your shop can browse the products on your shop and buy it from that shop or catalog. You don't need to manage the inventory, fulfill the orders, process the payment, and such things. You get the commissions for each sell you generate through your affiliate store. For example, Amazon has a great affiliate scheme which you may be familiar with.

Joomla! has a number of components for adding affiliate shops to your Joomla!-based web site. The following are some of the widely used affiliate shop components for Joomla!:

  • CJ Catalog Builder: This is the Commission Junction catalog builder component for Joomla!. This commercially licensed component works natively with Joomla! 1.0.15, and works as 'legacy' in Joomla! 1.5.x. It is a great component for building an affiliate shop by selecting products from the Commission Junction catalog. The products from Commission Junction can be added to your content, or to VirtueMart's categories and sub-categories. This gives you opportunity to customize the layout of how a product is displayed, and also edit the product description.
  • J!Cafe: J!Cafe is a commercially licensed component which enables you to build an affiliate shop using products from Cafepress(the popular online marketplace). This component natively runs on Joomla! 1.0.x and runs in legacy mode on Joomla! 1.5.x. This component allows customer commenting and bookmarking, and also supports search engine friendly URLs. This is a good choice for Joomla! administrators if you want to sell products from Cafepress.
  • Easy Amazon Associates: This free component is designed to run on Joomla! 1.5.x. This allows you to include Amazon ads in your content. Once installed and configured, it can generate appropriate codes for your Amazon products.

Paid access to content

Paid access to content is another form of e-commerce. If your Joomla!-based site provides premium content for which you want to charge some fees, the following components can help you charge fees to the content, or simply sell access to content:

  • Account Expiration Control – Membership Manager: This component allows Joomla! administrators to manage membership for paid content sites. Once the members pay a certain amount of fees, and get membership for a certain period, this component can manage their membership status. The membership is expired if not renewed in due time. This component runs on Joomla! 1.0.x and available for free at no cost.
  • Pay to Download XT: If you are uploading files to your Joomla! site and want to charge some fees for allowing viewers to download a file, you can use this component. This will allow you to charge an amount through PayPal against each file download. This free component runs on Joomla! 1.5.x (native) and Joomla! 1.0.x (native).
  • DOCman PayPal IPN (Pay Per Download): This component allows you to charge a fee for each download from the DOCman document repository. After installing and configuring DOCman, and uploading your files to DOCman, you have to install and configure this component. It will start showing a Pay with PayPal button. Once customers pay the amount, they will be redirected to the download URL. This simple and easy to manage component runs on Joomla! 1.5.x (legacy) and Joomla! 1.0.x (native).
  • Subscription Deluxe: This commercially licensed component allows Joomla! site owners to implement subscription based services for visitors. Subscription may be configured for the entire site, or only part of the site. This component works on Joomla! 1.5.x (legacy) and Joomla! 1.0.x (native).
  • JContentSubscription (Pay and Read Content): This commercially licensed component is suitable for implementing subscriptions to news and articles-based sites. When installed and configured, visitors can see the intro text of the news and articles, but they need to pay for viewing the full news or article. With this component, site owners can sell an individual article to individual user. This component runs on Joomla! 1.0.x (native).

Billing and payment systems

There are some billing and invoicing system components for Joomla! which are mostly used for managing subscriptions and recurring billing. The following are two such components (commercially licensed) that can be used with Joomla!:

  • nBill - a complete billing system: This component can be used for billing recurring payments. It can generate invoices and record all income, expenditures, subscriptions, and orders. It gives users the opportunity to login and view their invoices online. Several payment gateways can be used to pay the invoices. However, this component does not include shopping carts or product catalog. This is good for selling a few products where an order form can be configured manually from the backend. Another drawback of this component is that some of the files are encoded with ionCube, which means you need ionCube installed on the server for decoding these files.
  • jAccounts – Quotes and Invoices: This component is suitable for managing invoices and quotes for service-oriented sites. For example, if you run a Joomla!-based site and provide some consultancy services through that site, you can use it to generate and submit quotes. Upon completion of your work, you can submit invoices to your clients. Clients then pay the invoices online using one of the popular payment gateways, including PayPal, Google Checkout, 2Checkout, and so on.

Auction systems

Auction is another form of e-commerce where sellers advertise their products and customers bid for those products. The highest bidder gets the product. Auctions can also be reverse, where a buyer gives his or her requirements and sellers place their bids. In this case, the lowest bidder wins the bid. You can implement such auction systems in a Joomla! site by using some components. The following are two popular components for auction:

  • Auction Factory: This is a complete auction system for Joomla!. It can also be used with Joomla!'s Community Builder component. This component supports all types of auctions, including proxy bidding. It has built-in support for multiple languages and SEF. Its user-friendly administrative interface provides easy tracking of auctions and bids. This commercially licensed component runs on Joomla! 1.0.x (native) only.
  • AuctionFun2: This component enables you to add bidding to content items. Each content item in the Joomla! site can be included in bidding. This component is AJAX integrated and supports multiple types of bidding, including Regular (integrated), CountDown, and eBay style (optional). It supports checkouts through PayPal and Moneris. This can also be used for basic integration with the Community Builder component. The drawback is that it only runs of Joomla! 1.0.x.

Shopping carts

There are very few shopping cart components for Joomla! which can truly be an alternative to VirtueMart. The components which can be considered as near-to-be alternative to VirtueMart are mostly commercially licensed. The following are some of them:

  • JoomShopping Online Shop: This component allows you to run a shop on a Joomla! web site. Besides general products, it can also sell music and video files. It runs on both Joomla! 1.0.x and 1.5.x. One nice feature of this shopping cart is that, besides text and images you can also add audio and video in product descriptions. It also includes search engine optimization, customized PDF bills, and payment providers. The only downside of this component is that it is in German and all texts do not translate into English.
  • IXXO Cart for Joomla!: This commercially licensed shopping cart component works with Joomla! 1.5.x (native) and Joomla! 1.0.x. It has some great features for shop owners. It focuses on marketing and selling, and provides a powerful design. This shop can be customized for most of the payment gateways and shipping providers. It has built-in support for search engine friendly (SEF) URLs, multilingual content, customer relationship management, wholesaler management, and easy customization of the look and feel of the store frontend.
  • SimpleCaddy for Joomla! 1.5 with PayPal support: SimpleCaddy for Joomla! 1.5 is a small component to add shopping cart functionality to a Joomla! web site. It has very few features which helps building a minimalist shop.
  • ECJC Online Shop: This commercially licensed shopping cart component is derived from osCommerce and has most of the functionalities of osCommerce. It runs on Joomla! 1.5.x (native) and Joomla! 1.0.x (native). Comparing the features with VirtueMart, this can be a substitute if you are willing to pay for it.
 

What is VirtueMart?

VirtueMart is an open source e-commerce component for Joomla!. It enables Joomla! site administrators to build a product catalog, configure payment and shipping methods, and allows the selling of products online.

Like any other shopping cart (such as osCommerce, Zen Cart, Magento, and so on), VirtueMart allows administrators to configure the shop, configure the selling workflow, configure the payment and shipping options, configure product categories and catalog, and manage customers and orders. However, the difference between VirtueMart and shopping cart applications like osCommerce and Zen Cart, is that VirtueMart runs as part of Joomla! CMS. It is fully integrated to a Joomla! site, shares the same authentication and authorization mechanism, and also the same look and feel of the Joomla! site. osCommerce and Zen Cart can run independently, but VirtueMart cannot run independently (it runs as component of Joomla!).

Like Joomla!, VirtueMart is also developed using PHP and uses MySQL as a backend database. It also works with Mambo, the predecessor of Joomla!. As VirtueMart uses GNU and GPL licensing, you are free to download it, distribute it, use it, and also to modify it.

VirtueMart is derived from another shopping cart called phpShop. phpShop is a standalone shopping cart based on PHP and MySQL. Initially, the port was for Mambo and was known as Mambo-phpShop. Later, after the initiation of Joomla!, Mambo-phpShop was renamed VirtueMart.

Note

For more information on VirtueMart and getting a copy of it, visit http://www.virtuemart.net. You can also have a look at phpShop at http://www.phpshop.org.

 

Features of VirtueMart

VirtueMart is a feature-rich, e-commerce component for Joomla! and Mambo. As it is derived from a standalone shopping cart, it has all of the features needed to run an online shop. The following sections highlight the major features of the VirtueMart shopping cart.

General features

As a component of Joomla! and Mambo, VirtueMart is fully integrated with Joomla! and Mambo and shares the common features of Joomla! and Mambo. It uses the security architecture of Joomla! and also has the capability of using Secure Sockets Layer (SSL) encryption, up to 128-bit. This encryption of HTTPS communication makes VirtueMart much safer for the buyers and sellers.

In addition to security features, another good feature of VirtueMart is its flexible tax model. In VirtueMart, sales taxes can be calculated based on a ship-to address, store address, or EU mode. In EU mode, taxes are calculated based on store the owner's address when the customer comes from an EU country.

Customers in VirtueMart are registered users of the Joomla! or Mambo site. Once a customer is registered with Joomla! or Mambo site, that user can maintain their addresses, and also can view their order history and order details.

Whenever a product is sold in VirtueMart shop, an order confirmation email is sent to shopper and the store owner. The administrator of the shop can customize the order confirmation mail and other emails sent to customers.

VirtueMart has excellent localization capability. As part of the Joomla! CMS, you can use multiple languages for the Joomla! site and the VirtueMart shop. Once you install and configure the Joom!Fish component for Joomla!, you can use multiple languages for the VirtueMart store, too. There are several language packs for VirtueMart available on VirtueMart's web site: http://www.virtuemart.net. We can download these free of charge, install the language packs, and use them on our VirtueMart shop. However, if we do not find our desired language pack, we can easily translate the language strings using a Language Translator and Joom!Fish component.

As with multiple languages, we can also use multiple currencies for our VirtueMart shop. When multiple currencies are configured, shoppers can view the product price in configured currencies and also buy using those currencies.

Product catalog features

The VirtueMart component can handle thousands of products and categories in its catalog. We can use multiple nested categories to arrange products, and also add products to any category. The entire product catalog is searchable. Shoppers and shop owners both can search the products, categories, and manufactures. We can also filter for discontinued products.

In VirtueMart, the product catalog can be managed through a powerful, web-administration interface. The web interface can use both normal HTML and a JavaScript powered, AJAX-like interface. Like other shopping carts, a VirtueMart product catalog can also be used as a catalog only, where products will only remain for display purposes without displaying prices and Buy Now button. For each product, we can set special attributes and mark any product as special or featured.

Product rating is an excellent feature in VirtueMart. This allows customer ratings on products to be moderated or published automatically without moderation. We can also use a Product is back in Stock feature to notify subscribed customers. VirtueMart can also display how fast a product can be delivered.

In addition to physical products, VirtueMart can handle virtual and downloadable products. Once you configure and upload the downloadable products, customers can view the details of that product, add it to their cart, pay for it, and get it delivered via download.

Administration features

Administering VirtueMart and catalog configurations is done through its administration panel, which is integrated with the Joomla! and Mambo administration panel. The latest version of VirtueMart has an AJAX integrated interface. The following screenshot shows its AJAX-powered administration panel:

Administration features

In VirtueMart, we can add multiple images and files for a single product. This gives administrators the opportunity to display multiple product images to demonstrate several product attributes. Similarly, multiple documents may help showing product specifications, technical notes, and so on. The following screenshot shows the product add, edit, and update screen in VirtueMart:

Administration features

We can add attributes to a product in the VirtueMart catalog. For example, when we are selling a T-shirt, it may have different sizes and colors. Instead of adding multiple products of size and color variations, we may add these as attributes of the product. Once attributes are configured, shoppers can choose appropriate attribute for the product. Some products may be read-only where customers do not have option to select value of that attribute. Product prices can also vary based on the attributes selected.

Another great feature of VirtueMart is adding product type. We can classify our products by product types such as Books, T-shirts, Music Album, Software CD, and so on. For each product type, a set of attributes can be assigned. This makes adding similar products easier.

In VirtueMart, the administrator can create multiple shopper groups, and allow different price levels and payment options for these groups. This is useful for categorizing customers, such as retail customers and bulk purchasers, and assigning special prices for them.

In addition to assigning special prices for different shopper groups, there can be price discounts for certain quantities of an order. Assigning quantity-based pricing helps bulk purchasers. Not only multiple pricing, but the display of prices can be done in different ways. VirtueMart can display prices in different currencies and formats. It may show prices including or excluding taxes. While using multiple currencies for the shop, currencies are converted on the fly using live rates from the European Central Bank (ECB) or some other banks.

In VirtueMart, we can also view some statistics about new customers, new orders, new products added to the catalog, stock levels, and so on. It helps to get an overview of our selling activity. As the administrators can see the stock level for the products, they can help restock the low-quantity items.

The administrative interface also helps in managing orders. The administrative dashboard displays summarys of new orders, orders pending, and so on. From the Orders section, administrators can view more detailed information about orders. They can edit, cancel, or fulfill the orders from this section. While editing or updating any order, an administrator can also notify the customer about the latest status of the order.

The VirtueMart also includes some reporting features. It can display a summary report for old items, and monthly or yearly revenue from the products sold. An administrator can generate these reports by selecting the report type and period of reporting. These reports can show both the summary and individual item statements of products sold and revenue earned.

Payment modules

For any shopping cart, payment modules are essential to process payments online. VirtueMart provides multiple payment processing options with a range of payment modules. It can process credit cards in real time. By default, there are some predefined payment processing gateways such as Authorize.Net, PayPal, 2Checkout, eWay, WorldPay, PayMate, and NoChex. We can also extend our shop to use other payment processing gateways by using the Payment Module API.

Shipping modules

A good shopping cart needs multiple shipping modules. These modules help the shop serve its customers better. VirtueMart has multiple shipping modules to serve a wide range of customers. It gives flexibility in adding shipping carriers and rates for the area the store serves. The administrator can configure which carriers they want to use, and at what rate.

Some shipping modules, such as InterShipper, UPS, USPS, FedEx, and Canada Post, can use live update for shipping rates. This helps shop owners to be aligned with the latest shipping rates of the shipping carrier. Some shipping modules can use a shipping rate API. This shipping module API allows administrators to extend the shipping methods.

 

Joomla! and other shopping carts

There are many other open source, PHP-based shopping cart software available. If you are running an online shop, you may be using one of those shopping carts. If that is the case, you may be wondering how to use that shopping cart with your newly built Joomla! site. It may even be that you have been running a Joomla!-based web site for long time, and now want to implement a shopping cart. The first choice for implementing such a shopping cart will definitely be the VirtueMart. However, if you think that you must use some other shopping cart, such as Zen Cart, osCommerce, or Magento, then you must think beforehand how you are going to integrate the two. The following sections highlight these issues:

osCommerce

osCommerce is a popular open-source, PHP-based shopping cart. It has a large number of modules by which you can easily extend its functionalities. osCommerce has some unique features, such as gift certificates, which are not available in VirtueMart. If you are using osCommerce for your shop, and also want to add CMS functionalities by adding Joomla!, you can try integrating osCommerce shop to Joomla!. For bridging osCommerce and Joomla!, there is a component called oscBridge, which can be downloaded from http://tinyurl.com/65l49d.

You can also get an osCommerce-like shopping cart in Joomla! by using ECJC Online Shop (see http://tinyurl.com/2frgx8) and E-commerce solution for Mambo and Joomla web sites (see http://tinyurl.com/59uopt) components.

Zen Cart

Zen Cart is another popular open source, PHP, and MySQL-based shopping cart licensed under GPL. It has some advanced features like osCommerce, and provides ease of administration and customization of its look and feel. Zen Cart's powerful features may prelude you to use it with Joomla! to get most powerful CMS and shopping cart hybrid. However, at this point, there is no easy way to integrate Joomla! and Zen Cart. There are some discussions on how to integrate these two powerful open source software. If your shop is not yet running Zen Cart, it is best to build the shop on VirtueMart. If you are running the shop on Zen Cart, you can still migrate your product catalog to Joomla! by using a Joomla! component called the osCommerce Zen Cart Catalog Import Utility. This component allows you to migrate products from both an osCommerce and Zen Cart catalog. You can download it from: http://tinyurl.com/68pwns.

Magento

Magento (see http://www.magentocommerce.com) is the newest open source e-commerce project. It is gaining popularity so rapidly that it is assumed, within a few months, it will surpass the popularity of the osCommerce and Zen Cart shopping cart. Magento's popularity is due to its customizability, usability, and extensibility. It is developer-friendly, as well as designer-friendly. Designers can design their shop frontend as they desire. Similarly, with its extensible code framework, developers can customize it and develop new modules easily. However, up to the writing of this book, there is no easy way to use Magento with Joomla!.

Freeway

Freeway, available at http://www.openfreeway.org/, is another open source shopping cart which can be used for building an independent online shop. If you would like to use Freeway with Joomla!, there is a bridge called Freeway Integration (see http://tinyurl.com/5qmpcx). This component runs on Joomla 1.5.x and integrates the Freeway shopping cart with Joomla! 1.5.x.

 

Store example used in this book

Throughout the book, we will follow an example which builds a shop based on Joomla! and VirtueMart. For this example, we have chosen a web site—it's of an open source network. Now let us look into its requirements.

Bangladesh Open Source Network (BdOSN) is a not-for-profit, voluntary organization for promoting open source philosophy in Bangladesh. Like other open source networks, it mainly focuses on promoting open source philosophy through several activities including monthly talks, seminars, boot camps, and so on. It has established a web site using Joomla! CMS and publishes its advocacy materials, schedule of events, and other articles. Now, as part of its advocacy campaign, it also wants to sell some souvenir items for raising funds for this organization. It will sell T-Shirts, caps, and other items with the Tux logo and open source slogans. It will also sell some virtual products like greeting cards, coupons, and so on, to collect money from its supporters.

Therefore, the web site for BdOSN will have two main sections. It will include content for advocacy, and souvenir items to sell. It will also have some other sections such as a help line, forum, and blog. Joomla! is the best candidate for such a web site as it can fulfill all of these requirements out of the box. Throughout the book, we will see how to add e-commerce functionalities to this site.

 

Summary

In this chapter, we have discussed what Joomla! is and what its major features are. We have also learned in which cases Joomla! will be a good choice. We then moved on to options available for adding e-commerce functionalities to Joomla!. We have seen that there are a variety of components available for adding e-commerce functionalities to Joomla!. We have introduced some of the popular components for different types of e-commerce functions, such as auction, affiliation, membership and paid access, and so on. We then discussed VirtueMart and its features.

VirtueMart is the most popular shopping cart component for Joomla!. We have learned that it supports most of the features a standalone shopping cart should have. VirtueMart is widely used because of its ease of administration, and rich features. It supports multiple payment and shipping modules, as well as multiple currencies and languages. We have also got some idea about how other shopping carts, such as osCommerce, Zen Cart, and Freeway can be used with Joomla!. Finally, we got a preview of the shop we are going to build in the next chapters.

The introduction is over, and it is now time to move to action. We are going to install Joomla! and start running VirtueMart in the next chapter.

About the Author
  • Suhreed Sarkar

    Suhreed Sarkar is an IT consultant, trainer and technical writer. He studied Marine engineering, served on board the ship for two years, and then started journey in to IT world with MCSE in Windows NT 4.0 track. Later he studied business administration and earned MBA from University of Dhaka. He has a bunch of BrainBench certifications on various topics including PHP4, Project Management, RDBMS Concepts, E-commerce, Web Server Administration, Internet Security, Training Development, Training Delivery and Evaluation, and Technical Writing.He taught courses on system administration, web development, e-commerce and MIS. He has consulted several national and international organizations including United Nations, and helped clients building and adopting their web portals, large scale databases and management information systems. At present he is working on building a framework for education sector MIS, and promoting use of ICTs in education.

    Suhreed is renowned technical author in Bengali – having a dozen of books published on subjects covering web development, LAMP, networking, and system administration. He authored Zen Cart: E-commerce Application Development, Joomla! E-commerce with Virtuemart, and Joomla! with Flash, published by Packt Publishing.While not busy with hacking some apps, blogging on his blog (http://www.suhreedsarkar.com), reading philosophy of Bertrand Russell or management thought of Peter F Drucker – he likes to spend some special moments with his family. Suhreed lives in Dhaka, Bangladesh

    Contact Suhreed Sarkar

    Browse publications by this author
Joomla! E-Commerce with VirtueMart
Unlock this book and the full library FREE for 7 days
Start now