Getting Started with Liferay Commerce

Liferay Commerce is a digital commerce platform built from the ground up to work with Liferay DXP, 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 DXP 7.1 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

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

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. Beryl Customer Portal serves the needs of buyers with approval processes to observe before making purchases. When buyers places an order, Liferay Commerce can send an automated email to their managers, prompting them to approve the order so it can be processed. The customer portal enables customer organizations to manage their own accounts, so they can designate their own buyers, order managers, and account managers.

In addition, Liferay Commerce features a user control system integrated with Liferay DXP’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

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.


Enterprise subscribers with a Liferay Commerce order can install from the Customer Portal. You need an order number that includes Liferay Commerce or an .xml activation key. You must also have Liferay DXP 7.1; see installation instructions here.

Once you’ve downloaded the Liferay Commerce .lpkg from Customer Portal, follow these steps if you have an .xml key:

  1. Start Liferay DXP 7.1.

  2. Drop your activation key into the deploy folder in Liferay Home. Wait for the log to show that the license has been registered.

  3. Drop the Liferay Commerce .lpkg into the deploy folder as well. Wait for the log to show that your instance must be restarted.

  4. Restart your instance.

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

Follow these steps if you have an order number that includes Liferay Commerce:

  1. Start Liferay DXP 7.1.

  2. Drop the .lpkg into the deploy folder in Liferay Home.

  3. Go to Control PanelAppsLicense Manager and enter your Order ID into the provided field. Click Query.

  4. Select Liferay Commerce from the drop-down menu that appears and click Register.

  5. Wait for a success message and restart Liferay DXP.

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


The quickest way to get going with Liferay Commerce is to use an 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. Beryl—available to subscribers only—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.

Introduction to Catalog Management »
0 人中有 0 人觉得有帮助