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

Custom fields – adding customizable product text and charging per letter


Do you want to add custom or customer designed products to your store? What about a greeting in a card to make it personal or a player name on a football shirt? Here is how to do it with custom fields in VirtueMart.

Getting ready

Log in to Joomla! admin and select the VirtueMart component. The example used here is the option to add a custom message on the DVD when giving Joomla! the Movie to a close friend. Not only will they thank you for a life altering movie, but they will also feel like the gift is extra special because of the personal touch.

How to do it...

We will do this in two parts. First creating the custom field and then adding the field to a product.

Creating the custom field:

  1. Select Custom Fields from the Products menu and then click on New. For Custom Field Type select Plugins as shown in the following screenshot:

  2. For Cart Attribute choose Yes as shown in the following screenshot:

  3. In the Description box type Enter...