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

Charging for shipping by weight range


This is the simplest shipping method of all, so we will jump in and configure it in a flash.

Getting ready

The only preparation you will need to have done is to assign weights to your products so that VirtueMart database knows how heavy everything is and can use the rules we create in a moment to calculate and charge the appropriate shipping cost.

If you haven't done that already, see the previous chapter and the Adding a simple product (dimensions and weight tab) recipe.

Now you need to decide what weight ranges you want to set and how much to charge for each of them. In this recipe we will configure three weight ranges as shown in the following table:

Weight range

Cost

Up to 0.99kg

£3.00

1kg - 1.99kg

£5.00

2kg and heavier

£7.50

So, our 0.25kg DVDs would cost a minimum of £3.00 to deliver. And we could get up to three delivered together for that same price (3 * 0.25 = 0.75 < 0.99). But as soon as we add a fourth DVD, the weight is 1kg and that...