In our recent post, Lemberg’s Drupal engineer Mykhailo Gurei shared a step-by-step process of creating a basic online store using Drupal 9 and Commerce. That store included some of the most essential features of any ecommerce website, like cart, order, checkout, payment, shipping, promotions, and more.
All that is enough to have a perfectly functioning digital storefront, yet Drupal has so much more to improve the shopping experience of your customers and give you insight into their wants and needs.
The cool thing about building an online store with Drupal Commerce is that there are tons of modules created by the Drupal community which you can use for free to extend your store’s functionality far and wide.
To help you navigate this sea of possibilities, we’ve prepared a list of 11 lesser known Drupal Commerce modules that our engineers use on a regular basis.
The Commerce Product Limits module, developed recently by Lemberg’s Drupal engineer Leonid Bogdanovych, allows you to set minimum and maximum purchase quantities for products in your store.
Commerce Product Limits is definitely a must for those online stores that sell limited edition goods, like designer clothes or hand-made items, for example. You’ll also want to use this module if your shop has a “one item per customer” restriction or similar.
With this module enabled, the visitors of your store will get a message saying that they’ve either exceeded the maximum available quantity of an item in their cart, or haven’t reached the minimum required quantity yet.
Get the Commerce Product Limits module here.
This Drupal Commerce module enables a store admin to create a bundle out of a number of products and offer them at a new price.
Bundle pricing is extremely common in both retail and ecommerce as it’s a great way to offer more value to your customers while also moving products quicker or selling off items that don’t sell well on their own.
Bear in mind that this module uses a Commerce Product Bundle entity as a purchasable entity. If you want to add multiple product variants to cart, try the Commerce Variation Add-on or the Commerce Product Bundles module.
You can create product bundles that consist of other product variants. They all combine into one add to cart form which functions like the core add to cart form. The bundle is then represented as a single order item.
Get the Commerce Product Bundle module here.
The Single Media module, created by Lemberg’s Drupal engineer Roman Salo, provides a formatter for the Media module. With this module enabled, you can select one media item from a range for preview while working with multiple media in one field. It also allows you to choose the view mode for the selected media.
Although Single Media isn’t a Drupal Commerce module per se, it would definitely come in handy when developing product card previews for your Drupal store. Instead of having the first image in a range being automatically displayed as a preview, site admins or store managers could choose whichever image they prefer for preview and set its view mode.
Get the Single Media module here.
The Commerce Combine Carts module does exactly what it says — it combines multiple carts so that a store visitor only ever has one.
It’s useful in a scenario where a logged in user adds items to their cart, then leaves the website, then comes back as an anonymous guest and adds some more products to cart. When they log in, the two carts merge into a single cart.
There’s no configuration needed to set up this module. It works in two ways to keep carts combined at all times:
- When a cart is assigned to a store visitor, it combines all items into their main cart.
- When a store visitor logs in, all their carts are combined into one and any extra carts are deleted.
Click here to get the Commerce Combine Carts module.
The Commerce Quantity Increments module allows you to set quantity increments per product.
With the module enabled and the increment being set to two, for example, a store visitor will only be able to purchase two, four, six, etc. units of a certain product. If they specify the quantity of five, they’ll get a message saying that this purchase isn’t possible and that they need to change the quantity.
You’ll definitely get a lot of use out of this Drupal 8 module if for the goods you’re selling, it’s only cost-effective to produce and/or ship a specific number of items at a time.
The Commerce Quantity Increments module is available here.
The Commerce Product Tax Conditions module (developed by me), is a handy tool for stores that need to manage prices for B2B (VAT excluded) and B2C (VAT included) clients.
This module allows you to easily configure tax conditions in the admin panel.
Get the Commerce Product Tax Conditions module here.
This nifty little module enables you to share a link that will redirect a person directly to the checkout page with a number of preselected items already in the cart. What’s more, you can also specify the preferred quantity for each item.
The Direct Checkout by URL module is especially valuable during advertising campaigns or holiday sales, when you want to offer your customers a preselected collection of products.
In spite of what the name of the module suggests, it doesn’t exclusively redirect users to the checkout page. Using Drupal's built-in destination query parameter, you can redirect to other places as well — to the cart, for example, instead of the checkout page.
Click here to get the Direct Checkout by URL module.
Out of the box, only users with the Administer menus and menu items permission can add, change, or delete menu items.
The Menu Admin per Menu module allows you to delegate specific menu admin permissions to roles without giving them full admin permission. For instance, you could give a store manager permission to manage orders and products, but not price lists.
This module, while obviously not limited by use in ecommerce only, is definitely among the best Drupal modules for those online stores that have employees with different roles. Depending on the role, employees would have access only to those menus that are directly related to their work (orders, products, promotions, price lists, content management, etc).
The Menu Admin per Menu module is available here.
The Commerce Google Tag Manager module provides Commerce integration for Enhanced Commerce, through Google Tag Manager.
In case you’re not familiar with Enhanced Commerce, it’s a Google Analytics plugin set up via Google Tag Manager that enables store managers to get a deeper understanding of the shopping behavior of their customers.
The module automatically tracks the following Universal Analytics Enhanced Ecommerce events:
- views of product details when viewing a product entity,
- additions and removals from cart,
- checkout with the possibility to track checkout options,
Get the Commerce Google Tag Manager here.
If you’d like to create a discount for a series of SKUs starting with the same prefix, the SKU Prefix Promotion Condition module is your friend. This module provides a condition which allows you to create promotions that try to match products on a SKU prefix.
Let’s say you have a prefix 5012 for a group of products. With the module enabled, the promotion would affect all of the following SKUs:
This SKU, however, won’t be affected:
You can also use this module to exclude certain SKUs using the same pattern.
Get the SKU Prefix Promotion Condition module here.
The Commerce Ajax Cart Message module is as simple as they make them. It has no interface, and there’s nothing to configure. If you enable it, it will only do a single thing: disable the message saying “XX added to your cart” if add to cart is triggered via Ajax. Disabling this message in Drupal without this module isn’t quite as easy as installing and enabling it.
The Commerce Ajax Cart Message module is available here.
The Drupal Commerce modules described above can take you far, but more complex, custom needs always call for a custom approach. If you’re looking for help building your online store, get in touch with Roy Vikovych, our Business Development Manager. He’ll be happy to discuss your needs, tell you more about our Drupal commerce development services, and explain what your collaboration with Lemberg could look like.