Legacy Knowledge Base
Published Jun. 30, 2025

Disable Commerce Modules

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Some users don't need a commerce application in DXP 7.4 and would like to disable it.

Environment

  • Liferay DXP 2023.Q3.1
  • Liferay DXP 2023.Q3.2

Resolution

  • The blacklisting of commerce modules works properly until DXP-7.4-update-92 but not on Quarterly Releases, since the Liferay DXP 7.4 Updates were released with jar files packaged in an lpkg file, however, the lpkg packaging has been removed with Quarterly Releases. Rather jar files are compiled and included individually. This can be seen here: Anatomy-of-a-Quarterly-Release
  • Now, as per official policy on this: Activating Liferay Commerce Enterprise. Commerce features are now available and supported for all customers with valid DXP 7.4 subscriptions. Disabling Commerce can cause inconsistencies with other Liferay DXP modules. Thus, we do not recommend disabling COMMERCE. However, if users still wish to disable it, this is entirely at their discretion.
    • Users need to have to use the bundle package names now.  See the attached .config file, this file will disable all of COMMERCE.
    • Stop server
    • Clear osgi/state, tomcat/temp, and tomcat/work
    • Copy/paste the attached com.liferay.portal.bundle.blacklist.internal.configuration.BundleBlacklistConfiguration.config file into osgi/configs
    • Start server 
Did this article resolve your issue ?

Legacy Knowledge Base