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