Book Image

Building E-commerce Sites with VirtueMart Cookbook

By : John Horton
Book Image

Building E-commerce Sites with VirtueMart Cookbook

By: John Horton

Overview of this book

VirtueMart is a premier eCommerce solution powered by Joomla!In Building E-commerce Sites with VirtueMart Cookbook you will learn how to create a full-functioning and attractive eCommerce solution with VirtueMart. You will be shown how to install and configure VirtueMart, how to set-up and run your store day-to-day as well as configure and customize the look and feel of your store. With this book by your side, you will be able to overcome as problems setting up, administrating and customizing your eCommerce store! This book finishes with blueprint projects meaning that getting started with VirtueMart is even easier for the novice and aspiring site builder or developer. If you have always wanted to create a professional-looking store, but are worried about the complexity and difficulty involved, then this book is for you! With numerous recipes, practical tips and solutions Building E-commerce Sites with VirtueMart Cookbook will take you through every step required to achieve eCommerce success.
Table of Contents (17 chapters)
Building E-commerce Sites with VirtueMart Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing VirtueMart and the core add-ons


After this super quick, complexity free recipe, you will have a new option in your Joomla! components menu, that is VirtueMart. Clicking on the VirtueMart component link will open up a wealth of configuration and settings comparable to many standalone shopping cart systems.

Getting ready

Let's get the files necessary to do the installation. Head over to www.virtuemart.net and click on the Download tab. Download the latest stable version available. Got it? Let's go.

How to do it...

Let's install VirtueMart:

  1. Unzip the downloaded file named com_virtuemart.2.0.18a_extract_first.targz.zip. This reveals two more files.

  2. Log in to your Joomla! admin control panel by going to www.yoursite.com/administrator, navigate to Extensions | Extension Manager from the top menu and you will see the following screenshot:

  3. We will use the first option labeled Upload Package File. Click on Browse and find the recently extracted VirtueMart file named com_virtuemart.2.0.xx.tar.gz.

    Note

    Make sure that you do not select the file ending with … ext_aio.tar.gz as we are not ready for that one yet.

  4. When you have selected the correct file you can click on Upload & Install.

  5. You should now see something like the following screenshot. Don't worry about the warning. We will come to that in the next recipe when we do some basic configurations:

  6. If you get an error about the size of the upload or your browser just whirs around and never completes the task then do this: use FileZilla to upload the com_virtuemart.2.0.xx.tar.gz file to the TMP folder in the root of your Joomla! installation folder.

  7. You can now use the section labeled Install from directory to get things done.

  8. After uploading the file just add /com_virtuemart.2.0.xx.tar.gz to the end of the default file path and click on Install. All should now be good. Any time the Joomla! package installer fails to upload and install a package then you can do the same.

    Tip

    Any time the file is too large for the Joomla! Upload Package File option, just transfer it with FileZilla to the TMP folder and install via the Install from directory option. For security reasons, delete the package file when you are done!

  9. The core VirtueMart product is now installed, but before we conclude this recipe, let's add the VirtueMart AIO (all in one) extensions. This is all the virtually essential, predeterminable VirtueMart settings and modules, all of which are neatly lumped together in one installation.

  10. From the same Extension Manager: Install page, click on Browse, select the com_virtuemart.2.0.xxx_ext_aio.tar.gz file, and click on Upload & Install.

  11. You might have noticed the following message:

    That is because once you have used the component and it has done its work it is no longer necessary to leave it installed. We will deal with that when we do some basic VirtueMart configuration later in this chapter.

How it works...

The two files that we uploaded and installed constitute an entire e-commerce system. They contain everything that you need to handle such as the complex products and shipping options, attach to payment gateways, and managing your inventory.

There's more...

Now would be a good time, especially if this is your first VirtueMart installation, to go and check out some of the features, buttons, and menus. Don't worry about configuring anything, we will start all that in the next recipe. Also, you will probably keep getting that Safe path empty... warning. Again, we will deal with that soon. From the top menu navigate to Components | VirtueMart. The following is the screenshot of VirtueMart: