Ubercart is not a separate script of an online store; it’s a Drupal module. This means that first of all you need to install Drupal and all the necessary modules before installing Ubercart. No need to be an Einstein to figure out how to install all these elements.
Setting up Must-Have Modules
Before installing Ubercart we need to setup some Drupal modules. These third-party ones are not the part of a core and they are created by individual developers or companies. They provide additional features or enhance existing ones. Here you can see the full list of Drupal modules. In fact, only the Token module is required for Ubercart. What is Token you can read on the front page of this module. Tokens are small bits of text that can be placed into larger documents via simple placeholders, for example,% site-name or [user].
Token module provides a central API for modules that use these signs, and add their own markers values. Please note that Token module provides no visible features for users, in fact, it provides services for the processing of tokens for other modules.
For Drupal 6 Module Token is a submodule "Token Action", which can be enabled separately. It provides an "action" for Drupal Actions/Trigger modules that use Token replacements. Ubercart uses tokens in several functions, such as confirmation messages or e-mails.
Next Bunch of Modules Required to Support Images
Everyone wants to present his products with good images available in several sizes. We also want our customers to enlarge the images. Drupal does not support images out of the box, that’s why Ubercart uses not one, but six different modules. Installation take time and it seems to be a complicated process, but they update Drupal, offering new features necessary for our online store. Modules required for installation:
Content Construction Kit (CCK): This is one of the most important modules for Drupal. It allows user to create new types of content and add new fields to existing content types using only the admin interface, without the need for any programming knowledge. You can download the module here.
FileField: This module is an extension for CCK. It creates a field to add the file.
ImageField: This module is also a complement to the CCK. It creates the image field.
ImageAPI and ImageAPI GD2: ImageAPI use GD2 library for image processing through PHP. It is very necessary modules, because they allow us to perform basic operations on images, such as resize, rotate, add watermark, crop, or converting to another format directly from the browser, without the need to import into the application for image editing.
ImageCache: This module allows you to create pre-defined standard image. Ubercart uses ImageCache, to adjust all product images. You load an image, and module dynamically generates files for the product catalog, sketches, photos and a basket.
Thickbox: This module integrates jQuery plugin Thickbox into Drupal. By clicking the icon full-size version is opened in a new window without reloading the entire page. It provides automatic integration with all of the above modules.
Google Analytics: This module adds Google Analytics stats to your website. He is not only to collect general statistics such as number of visitors, most popular pages. E-commerce tracking and analysis is a very useful tool that helps you analyze profitability and manage your marketing strategy.
Views: This module provides site administrator Web interface that allows you to easily change the appearance of your site content.
After you’ve downloaded these modules create new directory sites/all/modules, extract files and copy modules to this folder. Finally, go to http://localhost/admin/build/modules, choose from this list of modules you need, and click Save.
After you’ve installed Drupal modules, it’s time to install Ubercart. Go to and download the latest Ubercart 2.x for Drupal 6. It comes as a compressed tar.gz file, extract it can be the same as you do with Drupal.
Copy it to your sites/all/modules as we did with the previous modules. In fact, Ubercart is not just a single module it’s a package. Some of these modules require (Ubercart-core), and some of them are optional (Ubercart-Core (optional) and Ubercart-extra, Ubercart-fulfillment, and Ubercart-payment). No need to install each Ubercart module. It will take some time for you to decide which of them you need. Of course you can always go back and add or remove sub-modules, depending on your needs.
The most important Ubercart package modules are:
- Shopcart: required for the functioning of the shopping cart
- Conditional Actions: conditional actions needed to adjust shipping and taxes
Additional modules can be obtained at Drupal’s repository.
Using UberDrupal, Ubercart Installation Profile
When we are installing profile, we are giving Drupal specific instructions what language to use, what topics to include, or which settings to use after installation. This is a very powerful tool with a great potential, since it allows developers to create predefined Drupal packages created for specific purposes, such as blogs, image galleries, magazines, or online stores. The only disadvantage of this procedure is that the profiles are not fully automated; you still have to download all modules, and then run the installation of the profile.
To automate the installation you can use the Drupal package - UberDrupal. It automatically sets all basic Ubercart and Drupal modules, which we’ve mentioned earlier. It also allows some basic pre-configuration and sets up the shop with default settings. If you want to use this installation profile, firstly you need to download all modules and all Drupal Ubercart modules, and then put them into folder sites/all/modules. Then download UberDrupal, and put it in the catalog profiles. Now, when you run the installation, you will see two options Select profile installation: Drupal or UberDrupal. Choosing the second option allows UberDrupal installation profile.
So, after we’ve found out how to install Ubercart on Drupal, let’s proceed to the configuration of Ubercart. Follow the link, my_website/admin, and there you’ll see that a new configuration section appeared “Store administration”.
Orders: at this point, all that concerns the formation and processing of orders, here you set it as your online store will process orders. Here you can see which orders are received and you can adjust them manually, manage and delete.
Customers: view and modify customer information and orders. Here you can get all the information needed about your customers.
Products: this option allows to see the settings of the Ubercart, concerning the goods and products that are sold in your online store, for example, how your product is displayed, what information should be displayed and so on.
Reports: in this section, you are offered all sorts of records of the store. Here is a log of all changes and transactions that took place in your store. You can see who bought a specific product etc.
Conditional actions: administer the predicates setup to automate store.
Configuration: setting up the configuration settings for Ubercart. Using this option you can modify Recycle Bin, catalog, product, process, shopping, etc. So there are some interface settings and display options.
Help: Link to get help!
Well, that's all. After fulfilling these steps your Drupal powered online store will be ready to go. If you have any questions or interesting ideas on how to optimize this process, making it easier and quicker, use the comments section. Also check out Drupal themes that include hundreds of absolutely terrific examples.