Shop based on Drupal - Ubercart module

09-Mar-2017
Drupal ubercart shop module

Ubercart is by far the most popular module enabling the implementation of e-Commerce to our website based on the Drupal cms. Its first version was released for Drupal 5 and is still updated to newer versions (currently 8). As Drupal 8 is still not at its peak, we will focus on its earlier version - Drupal 7.

By using Drupal 7 and Ubercart we are able to create a fully functioning online store that meets all the required functionalities, both from the seller and the buyer. Due to the amount of Ubercart version, it should not cause the smallest problems to people familiar with Drupal. Developers who finished on previous versions than 7 must remember that some of the additional modules for Ubercart have unfortunately not been updated to the newer version. Some of them found their equivalents, but we can still find abandoned solutions. Fortunately, when creating an online store with basic functions, we should not encounter any difficulties.


Younger programmers starting from version 7 will also have no problems with Ubercart configuration.


The basic module is not expanded, and at the same time it gathers all the most necessary functions - from creating products, through a basket to the completed order. Store configuration is usually limited to supplementing the appropriate form fields using the Drupal admin panel.
Ubercart is Open Source software, thanks to which we can change its source code according to our preferences. This is especially useful when editing the appearance of the cart or template files with e-mails or invoices. Some of the activities boil down to interfering with the code, which, luckily, is well described and cataloged.


The creation of new products deserves special attention.


Ubercart perfectly matches the basic content of the core as content or taxonomy. Products can be divided into classes, thanks to which it will be easier to manage them, for example when determining discounts or VAT taxes. Creating a new class creates a new content type that can contain individual fields. Each product is added as content enriched with basic information about the product, such as its dimensions, weight, SKU number, price or shipping options. We can enrich the product description with boxes of each type, thanks to which we can better design the product card. The customer needs photos and a rich description of the item being sold so that he can be sure of what he is buying. The list of products can be presented in the available catalog option or anywhere, eg using the Views module by sorting Taxonomy. It all depends on what we want to achieve and how to present it. The possibilities are almost infinite.

We can sell whatever we want. They can be physical objects (such as books or clothes) and digital items (eg e-books or audiobooks). Each product can be supplemented with attributes. The attribute can be, for example, color or size - in the case of clothes. When selling hosting accounts, the attribute may be the type of package ordered. The list of created attributes is generally available and associated with the product based on the SKU number. For each product variant, we can add an individual price and the possible type of shipment. When selling digital items, we can turn off the shipping option and the user will receive the purchased item in the form of a file sent to his e-mail address.

For each product, we can determine its inventory and the amount at which the store owner will be sent an e-mail notifying about the stock of a particular item.

We can sell products in many currencies. We can set the amount of tax. Please note that in the Ubercart module we give the net price. To enter the gross price, an additional module must be installed. Also, additional modules will help us to create promotions in the form of regular price reductions (in percentage or a specific amount), rebate vouchers (which we enter during the order) or discounts based on the number of items purchased.

Placing an order is very simplified and at the same time accurate. The products added to the basket are presented to the customer in the order summary before they provide their personal details. The customer's data is divided into the data to be sent and the data on which the bill or invoice is to be issued. The customer can register on the online store in advance through the standard Drupal registration or place an order as a guest (after placing an order the customer's account will be generated automatically with a random password that will be given to the customer). The customer can view the completed order on his account.

Ubercart offers a wide range of online payment options like Authorize.net or PayPal. It enables payment by ordinary bank transfer, by credit card or in the case of PayPala - Express Checkout, for example. The user makes a payment in a short time for the shopping done, thanks to which he does not abandon the basket, which could happen if the way of completing the order was long and complicated.
While configuring the store, we can create your own shipping methods and assign them to products, e.g. based on their dimensions, quantity or weight. The shipping price may also depend on the place of residence of the buyer. Ubercart has a well-functioning module that calculates shipping costs using UPS. When ordering, the customer may choose the option of sending from the list or the most favorable option will be generated.
The customer can leave a message for the buyer regarding his order. The answer to your comment can be read in the order details in your account.
After the order has been completed, the seller and the buyer receive a notification at the e-mail address.

The seller has an excellent insight into the history of orders (both those completed and abandoned). It can change the order status, issue a comment, delete it, prepare for shipment or generate an invoice that can be printed or downloaded as a PDF file.

Ubercart is a great choice if you want to create an online store or expand our website based on Drupal 7 as well as its older and newer versions. Its simple configuration should not cause difficulties for beginners and advanced programmers, and if it's already on the internet we will find rich documentation and discussions of the Drupal community.

Quick contact

5 + 2 =