Przejdź do głównej zawartości
Wszystkie kolekcjeIntegracjeMagento
Jak zaktualizować moduł Magento 2
Jak zaktualizować moduł Magento 2
Laura from Montonio avatar
Napisane przez Laura from Montonio
Zaktualizowano ponad tydzień temu

Jak dokonać aktualizacji?

Magento 2 wykorzystuje composer jako podstawowy menedżer pakietów, a wszystkie rozszerzenia Magento 2 mogą być instalowane za pomocą composer. Pakiet Montonio nie jest jeszcze dostępny na żadnym publicznym kanale composer, ale nadal jest pakietem, który można pobrać i zainstalować z lokalnego systemu plików. Oto jak wygląda proces instalacji:

#download and place the composer package to any folder in your server's filesystem 
#note to adjust the download url in curl command to latest version available
#you can always find the version from https://montonio.com/integrations/ #process for downloading from command line (or you can use your preferred way to upload the package to the server)
mkdir composer-packages
cd composer-packages
curl -GOL https://public.montonio.com/plugins/magento/2/Montonio_Hirepurchase_2.1.2_Y1wbO3.zip

#register this folder as artifact package channel with composer while in magento installation folder
#replace ARTIFACT_PATH with the path you placed the package eq: /var/www/packages composer config repositories.localpackages artifact ARTIFACT_PATH

#now you are ready to install the package with following command
#replace the VERSION_NUMBER with specific version you would like to upgrade or downgrade to
#removing :VERSION_NUMBER all together will try to install the latest downloaded version you have in your composer-packages folder composer require montonio/module-hire-purchase:VERSION_NUMBER

#it is now installed. upgrade the schema and flush cache
bin/magento setup:upgrade
bin/magento cache:flush

#log in to your magento admin and find Montonio's methods in the payment methods list

Jeśli masz dodatkowe pytania i potrzebujesz naszej pomocy, skontaktuj się z naszym zespołem wsparcia za pośrednictwem czatu w prawym dolnym rogu.

Czy to odpowiedziało na twoje pytanie?