Kõik kollektsioonid
Liidestamine
Magento
Kuidas uuendada Magento 2 moodulit
Kuidas uuendada Magento 2 moodulit
Laura from Montonio avatar
Autorilt Laura from Montonio
Värskendatud üle nädala tagasi

Kuidas uuendada?

Magento 2 kasutab aluspaketihaldurina "Composer"-it ja koos sellega saab installida kõik Magento 2 laiendused. Montonio pakett pole veel saadaval ühelgi avalikul composer kanalil, kuid see on siiski pakett, mille saate oma kohalikust failisüsteemist alla laadida ja installida. Installimisprotsess näeb välja järgmine:

#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


Kui teil on lisaküsimusi ja vajate meie abi, võtke meie tugimeeskonnaga ühendust paremas alanurgas oleva vestluse kaudu.

Kas see vastas teie küsimusele?