Liferay Commerce is a digital commerce platform built from the ground up to work with Liferay Portal, making it easy to leverage a fully integrated content management system and best-in-breed portal capabilities in commerce websites. Any website built with Liferay Portal CE 7.2 can be integrated seamlessly with a store built with Liferay Commerce.


Liferay Commerce contains a catalog management system that supports both physical and virtual products. The catalog stores a wide range of product data—product variations, pricing, images, specifications—and makes it readily available to the store’s customer-facing pages.


Figure 1: The catalog stores inventory levels, category assignments, and other product information.

Liferay Commerce includes a wide range of tools for setting up a storefront. New search tools, for instance, are designed specifically for product catalogs, while customizable widgets make it easy to add common UI elements—such as Checkout and View Cart—to a page.


Figure 2: Product pages are ready to go out-of-the-box, but can be customized extensively.

Liferay Commerce is optimized for business-to-business (B2B) transactions, combining modern site experiences with features that address B2B needs. For buyers with approval processes to observe before making purchases, Liferay Commerce can provide workflows so that the appropriate manager must approve each order before it can be placed.

In addition, Liferay Commerce features a user control system integrated with Liferay Portal’s Roles and permissions. User segmentation allows pricing, catalog visibility, and other features to be precisely targeted to certain customers.

Pricing and Tax management features allow almost unlimited flexibility, with support for almost any kind of discount and multi-currency transaction. Meanwhile, payments can be handled through integration with a third-party payment processor such as PayPal.


Figure 3: Any number of different payment methods can be added.

Products can be shipped by a number of different methods: sellers can impose a flat rate, calculate costs on the basis of weight, or integrate their systems closely with the rates of a shipping service, allowing buyers to choose directly from the services offered by, say, FedEx or UPS. The Warehouses feature allows Liferay Commerce to track inventories at different warehouses separately and automatically. When an order is placed, Liferay Commerce determines which warehouse is closest to the delivery point and processes the order accordingly.


Liferay Commerce can be installed on an existing Liferay Portal instance from an .lpkg file you can download here. You will also need GA3 or later of Liferay Portal CE 7.2; see installation instructions here.

Once you have the .lpkg, follow these steps:

  1. Start Liferay Portal CE 7.2.

  2. Drop the Liferay Commerce .lpkg into the deploy folder in Liferay Home. Wait for the log to show that your instance must be restarted.

  3. Restart your instance.

  4. Go to Control PanelConfigurationSearch and reindex all search indexes.

    You can also download Liferay Commerce bundled with Liferay Portal, or download a docker image of the same bundle. In these cases reindexing upon startup is not required.

Installing the Latest Version

The process is similar if you already have Liferay Commerce and want to update to the latest version. First download the latest .lpkg (it’s the same file you would use to install for the first time). Then follow these steps:

  1. Shut down Liferay.

  2. Delete the osgi/state folder in Liferay Home.

  3. Delete Liferay Commerce - API.lpkg and Liferay Commerce - Impl.lpkg from osgi/marketplace.

  4. Place the new .lpkg in the Deploy folder.

  5. Start Liferay. When prompted by the log, shut down and restart again.

Once you’ve completed these steps, it’s a good practice to go to Control PanelConfigurationSearch and reindex all search indexes.


The quickest way to get going with commerce is to use a site Accelerator. An Accelerator is a type of Site Template that does much of the initial work of setting up a store. Creating a Site with an Accelerator is an easy way to see what Liferay Commerce can do, and can be used to get a head start on a live store: modify the theme to suit your purposes, replace the dummy catalog with your own data, and you’re well on your way.

At the time of this writing, Liferay Commerce ships with two Accelerators. Minium is geared toward B2B selling, while Breccia models a UI similar to that used by most major retailers. Both Accelerators include a theme, a complete user interface, and a catalog populated with sample products. See Accelerators for more information.

0 (0 Votes)