How to upgrade module when it's installed in vendor

Created by Katie Bui, Modified on Fri, 21 Sep, 2018 at 9:20 AM by Katie Bui

Question:

How to upgrade/ install the updated version of your module in my site?

Currently, it is installed in vendor/bsscommerce/advancedhideprice

Directory

I have a new file of the module so I want to know how to update this module. should I replace all new files to 

vendor/bsscommerce/advancedhideprice directory or there is any common to update this module?


Answer:

To upgrade to module in your site, please follow these steps:


Step 1: disable module

php70 bin/magento module:uninstall Bss_advancedhideprice


Step 2:

clear vendor/bsscommerce/advancedhideprice using uninstall command:

  cd vendor/bsscommerce

    rm -rf advancedhideprice


Step 3: reinstall in app/code/Bss/AdvancedHidePrice/ manually as installation guide

upload module into folde app/code/Bss/AdvancedHidePrice/

php70 bin/magento setup:upgrade
php70 bin/magento setup:static-content:deploy -f

php70 bin/magento cache:flush



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article