Issue
- Is it possible to upgrade Commerce version, and if so, how would this be done?
Environment
- Liferay DXP 7.1+
- Liferay Commerce
Resolution:
Follow these points below for Commerce upgrade:
- Shut down Liferay.
- Delete the osgi/state folder in Liferay Home.
- Delete Liferay Commerce - API.lpkg and Liferay Commerce - Impl.lpkg from osgi/marketplace.
- Place the new .lpkg in the Deploy folder.
- Start Liferay. When prompted by the log, shut down and restart again.
Once you’ve completed these steps, it’s a best practice to initiate a full reindex by going to Control Panel → Configuration → Search and reindex all search indexes.
If you remove the Commerce package it won't remove the data from your database, therefore your state should be the same after deploying the new Commerce version.
Additional Information
The following article also helpful for this topic:
Commerce 2.0.0 Release Highlights
And also please check the Compatibility Matrix in order to know which Commerce version compatible with your current DXP version.
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In