Ask - Test
RE: How do I disable Commerce in 7.4? I don't need it.
How do I disable Commerce in 7.4? I don't need it.
Expert Posts: 449 Join Date: 5/26/15 Recent PostsWhen spinning up a 7.4 bundle (Update 16 in this case) and using the "Application Menu" I see a tab for Commerce. How do I disbale this feature?
RE: How do I disable Commerce in 7.4? I don't need it.
Liferay Master Posts: 541 Join Date: 12/1/08 Recent PostsHi Lee,
You can disable them by setting
the enterprise.product.commerce.enabled
portal property
to false
. Full details can be found here:
https://learn.liferay.com/commerce/latest/en/installation-and-upgrades/activating-liferay-commerce-enterprise.html#disabling-liferay-commerce-enterprise-for-liferay-dxp-7-4-ga1
RE: How do I disable Commerce in 7.4? I don't need it.
Expert Posts: 449 Join Date: 5/26/15 Recent PostsThank you, if that doesn't work can we get a version of Liferay without Commerce?
RE: RE: How do I disable Commerce in 7.4? I don't need it.
Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent PostsYou can always blacklist the modules, or remove the unwanted ones, e.g. from osgi/marketplace.
RE: How do I disable Commerce in 7.4? I don't need it.
Expert Posts: 449 Join Date: 5/26/15 Recent PostsI understand that but can we obtain a bundle without Commerce?
RE: RE: How do I disable Commerce in 7.4? I don't need it.
Liferay Master Posts: 541 Join Date: 12/1/08 Recent PostsLiferay does not provide any downloadable bundles that do not contain Commerce functionality. If you're a DXP subscriber I would recommend opening a Help Center ticket with any specific requirements or concerns. If you're using Community Edition it might be possible to build a bundle from source that doesn't contain Commerce modules.
RE: How do I disable Commerce in 7.4? I don't need it.
Expert Posts: 449 Join Date: 5/26/15 Recent PostsOk so the question here is based on this answer "Liferay does not provide any downloadable bundles that do not contain Commerce functionality"
Can we customers upgrade from a previous version of Liferay that does not contain the Commerce functionality and continue along an upgrade path that does not include Commerce functionality? We are not selling products.
How do we when upgrading to 7.4 opt out of Commerce functionality?
RE: RE: How do I disable Commerce in 7.4? I don't need it.
Liferay Master Posts: 541 Join Date: 12/1/08 Recent PostsTo the best of my knowledge, the short answer is no but I will flag your concern to our Product Management team so that they can take it into consideration and correct my assumption if I am wrong.
The long answer is that lumping all of the functionality provided in those modules under a single label called Commerce was probably too simplistic, but it helps us to market Liferay for customers looking for a traditional commerce solution.
The reality is that those modules we have labeled Commerce include a variety of functionality that could be used to build solutions that don't sell products. For example, Liferay Commerce originally introduced the concept of Accounts, intended to model external audiences. In many cases, those external audiences are Customers, but in reality they could also be other business units within the same company or even employees. Accounts are a critical concept that allow other features and functionality and have proved so useful for building a variety of solutions they've been adopted by DXP and are no longer strictly a Commerce feature.
Additionally, our Order & Shipment Management feature would be useful to anyone building a solution that allows customers (or customer support reps) to look up order history or shipment details regardless of where the sales are performed or which backend contains those details. This has been very useful for customers with multiple legacy backend systems that are trying to unify these details and provide self-service access but who don't do any e-commerce at all.
Similarly, our catalog capabilities could be used by any solution that helps end users discover and compare "products", even if those products aren't products that are for sale through the web site or even products in a traditional sense.
I know it's not the exact same situation, but imagine that we had originally released our Document Library capabilities under a product called Document Collaboration. Most of our customers that are using Liferay to build public facing marketing websites would probably assume that they don't need that product and would not want to include it in their solution. However, without those capabilities they would be missing out on a very critical part of their solution.
RE: RE: How do I disable Commerce in 7.4? I don't need it.
Junior Member Posts: 31 Join Date: 12/5/14 Recent PostsHi Lee, is the root problem similar to what Ryan describes in LPS-105905?
Currently on Liferay.com we don't use a number of the modules/apps that show up in the control panel. This isn't a huge deal because its mainly the admin that see them, but it would be nice to be able hide or remove them.
Or is it some other issue that's a result of the Commerce modules being in the bundle and enabled by default? Just trying to better understand the issue you're facing.
RE: How do I disable Commerce in 7.4? I don't need it.
Expert Posts: 449 Join Date: 5/26/15 Recent PostsThank you Jeffrey, that's a good summary.
However, why choose Liferay for Commerce? And since so much focus went into it and trying to be Webflow+Shopify ... Collaboration has suffered.
On the collaboration side we are seeing more and more feature compression and feature loss, where they are saying things like we don't need polls we can do that in forms. And what happens? We see feature funerals because maybe 80% of it is restored, but it's that 20% that is missing that is causing so many feature requests to ask for the broken eggs to be fixed.
Since OSGi it's supposed to be modular and having features there and
code that we may never need poses issues with patching and timeliness
of updates ... not to mention security. So let's say if there's an
issue with a Commerce functionality, is that going to hold up the
release of a service pack that is needed urgently for Portal?
Collaboration seems to have been forgttoen in favour of
Commerce also. We have watched as Commerce features have been
implemented while Collaboration feature requests (a lot of them trying
to get back what was lost) are left unactioned for years.
The platform gets buggier and bigger and harder to maintain, teams are working in silos so there is inconsisteny and there's this huge thing we aren't going to use that wasn't there before and we never asked for it. We are being told features need to be reduced yet we see this huge expansion of features and the Collaboration and Social features are deemed to have "not kept pace" and need "modernizing" and we loose even more as we go forwards.
All the time the details aren't being paid attention to such as "1 Months Ago"
RE: How do I disable Commerce in 7.4? I don't need it.
Expert Posts: 449 Join Date: 5/26/15 Recent PostsCorbin, yes, exactly right.
https://issues.liferay.com/browse/LPS-105905
But not just hiding features we don't want. This thing is supposed to be modular, why are we not getting patches for just a handful of things why do we have to patch the entire system + now commerce?
This combination of Portal and Commerce is baffling.
Another way of explaining this is that while we were upgrading 7.0 to 7.3 the "Commerce Themes" were stopping our server from starting and Commerce wasn't even bundled, but we had to deal with bugs in those themes.
RE: RE: How do I disable Commerce in 7.4? I don't need it.
New Member Posts: 3 Join Date: 11/9/20 Recent PostsVery good points raised by paying customers.
In our case we spent years learning Liferay on the premisse that it was and still is 'open source', that's actually a questionable statement as the code base is impossible to build a server from unless one dedicates a team of very skilled Java developers to work on that 100% of their time.
Then there was the OSGI migration, which seemed half hearted and not producing any real value for end users, the modularity may be burried inside the server but there is nothing modular about liferay from an end user perspective.
The final blow was this forced integration of a large feature set that not everyone needs, that's the Commerce set of features, they may or may not be useful for other use-cases but we didn't need them then (at around 7.3 GA3) and don't need them now.
So we decided to stop upgrading for a few releases and see how things progress.
Recently we're migrating from a private to a public cloud and thought now might be a good time fo an upgrade of fileray (amongst other servers), as we looked around we saw a few support threads, including this one, mentioning that the commerce module can be disabled using the `properties` file `enterprise.product.commerce.enabled`. We thought that's exactly what we need.
Our Docker instance has so far, not responded to this dirrective and the result is an install with the Commerce modules intact.
Are there any real solutions to this problem in Liferay 7.4.3.67 (latest as of this writing)?
Many thanks
RE: How do I disable Commerce in 7.4? I don't need it.
New Member Post: 1 Join Date: 6/9/23 Recent PostsI'm following this question for a while.
It seems that there is a way to disable Commerce but is behind a paywall.
This is unfortunate as there are organizations and entities that by their nature (ONGs for example) will never use it.
This is a Opt-Out situation. Opt-Out's are never a good sign, never. It shows the company's lack of respect towards the users.
More... The deep integration also shows that this situation will not be resolved.
I don't know if there is enough intrest, but I hope that the community fork the work and fix this.
Right now, at least for me it's unusable.
RE: How do I disable Commerce in 7.4? I don't need it.
New Member Posts: 5 Join Date: 6/25/20 Recent PostsOn the osgi configuration com.liferay.portal.bundle.blacklist.internal.configuration.BundleBlacklistConfiguration.config you can add this :
blacklistBundleSymbolicNames=[ \ "com.liferay.commerce.application.list", \ ]
The commerce tab on control panel will be removed
Powered by Liferay™