How to Upgrade Magento 2 Layered Navigation Pro from v3.x to v4.x

In this article, you will learn how to upgrade the Magento 2 Layered Navigation Pro extension from v3.x to v4.x using two methods – via FTP or Composer.

Important Information:

We strongly recommend upgrading and testing the Layered Navigation Pro extension in a development environment before deploying it on the production shop.

Step 1. Back Up the Customizations

Back up the app/design/frontend/[vendor]/[theme_name]/Plumrocket_ProductFilter file and remove it from the [theme_name] folder.

Step 2. Update the Extension

You can choose one of the two following methods to update the extension on your Magento 2 store:

Updating Extension via Composer

First, remove the following folder if it exists:

  • app/code/Plumrocket/ProductFilter

Then, update the extension files by running the following command from the Magento root directory:

  • Use this command if the Layered Navigation Pro v3 extension was installed in the vendor/plumrocket/module-productfilter folder.
composer update plumrocket/module-productfilter
  • Use this command if the Layered Navigation Pro v3 Extension was installed in the app/code/Plumrocket/ProductFilter folder.
composer require plumrocket/module-productfilter

After running the command, you may be prompted to enter the username and password. In order to find your personal Username and Password to update the extension via the Composer, go to your Plumrocket account > My Downloads, find the required Plumrocket extension in the list, and click the Install via Composer link. 

Run the next four Magento 2 commands to complete the updating process:

php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Updating Extension via FTP

In order to update the extension files via FTP, remove the app/code/Plumrocket/ProductFilter folder and perform the Installation via FTP steps.

Was this article helpful?