Hi,
I have 2 questions that I could not find an answer to (running magento 2.4):
1. How do I find out the easiest way if an extension was originally installed via FTP or composer?
2. If an extension was installed originally via ftp, is it possible to upgrade this extension via composer? If yes, what are the steps I need to take to get this to work?
Thanks for any help.
to check if the extension is installed via composer or not you can follow these steps.
"require": { "composer/composer": "@alpha", "amasty/base": "^1.5", "amasty/shopby": "^2.11", "amasty/module-faq-product-questions": "^2.3", "amasty/stockstatus": "^1.2", "amasty/shiprules": "^2.3", "amasty/module-single-step-checkout": "^2.2", "magento/product-community-edition": "2.3.2" },
now if you want to update the installation to the composer than you can remove that extension from the app/code folder and install using composer like the below command
composer require <extension-name>:<version> --no-update composer update
kindly Accept as a Solution if this works for you and give kudos.
thank you for the reply.
One more question: if I want to update an extension via composer that was originally installed via ftp do I "remove" meaning just "delete" folder Raf (for example) if the current structure is:
app
code
Aheadworks
Raf
...and then install via composer as explained in your post.
Thanks again!