2. UPS Live Rates dla Magento 2
Skonfiguruj UPS Live Rates dla Magento 2, aby wyświetlać rzeczywiste stawki wysyłkowe. Obejmuje ustawienia rozszerzenia i konfigurację usługi.
Przewodnik krok po kroku
Wymagania wstępne
PHP Version Requirement: PHP 7.3 or higher. Magento Version Requirement: Version 2.3.4, 2.3.7 or newer (Tested up to version 2.4.6p3, 2.4.6p4, 2.4.7). Magento 2 Core Plugin must be installed. firebase/php-jwt dependency required.
→ https://ups.dashboardlink.com/Instalacja ręczna
Open a Browser Tab and Register or Login to ups.dashboardlink.com. Open another Tab and login to your Magento 2 Admin Backend. Download the ZIP file of the UPS Live Rates addon. Extract the contents into your Magento root directory under "app/code". Follow the folder structure: app/code/UPS/Liverates.
→ https://link.ecommerce.help/ups-plugins-magento2/live-ratesZainstaluj zależności i wykonaj polecenia
Install Core module: composer require ups/dashboard. Install firebase/php-jwt: composer require firebase/php-jwt. Run: composer require swaggerlib/iws-isa=dev-main. Execute: php bin/magento setup:upgrade, php bin/magento setup:di:compile, php bin/magento setup:static-content:deploy -f, php bin/magento cache:flush.
→ https://github.com/firebase/php-jwtSkonfiguruj UPS Live Rates
Navigate to: Admin > Store > Configuration > Magento UPS > Start Here. Choose the appropriate store view from the store scope. Add configuration details and connect to the Live Rate service.
Ustaw adres sklepu
Go to: Admin > System > Settings > Configuration > General > Store Information. Ensure the store address is accurately set up.
Zweryfikuj proces zakupu
Once configured, UPS Live Rates options will be available for selection during the checkout process on the shipping methods section.
Odinstalowanie (jeśli potrzebne)
Manual Process: Navigate to the Magento root directory. Delete the "UPS/Liverates" directory manually from the "app/code" directory. Command Line: Execute bin/magento module:disable UPS_Liverates, then bin/magento module:uninstall UPS_Liverates. Then run: php bin/magento setup:upgrade, setup:di:compile, setup:static-content:deploy -f, cache:flush.