calcurates/module-magento
最新稳定版本:1.48.20
Composer 安装命令:
composer require calcurates/module-magento
包简介
Calcurates Integration for Magento
README 文档
README
Calcurates magento module
Requirements
- Magento >= 2.3
- PHP >= 7.1
Manual installation
- Download latest release
- Unpack archive to
app/code/Calcurates/ModuleMagento - Execute
cd path_to_magento
sudo -u magento_user php bin/magento setup:upgrade
sudo -u magento_user php bin/magento cache:flush
Composer installation
cd path_to_magento
composer require calcurates/module-magento
sudo -u magento_user php bin/magento setup:upgrade
sudo -u magento_user php bin/magento cache:flush
Magento 2.4.4 and newer installations:
cd path_to_magento
sudo -u magento_user php bin/magento config:set oauth/consumer/enable_integration_as_bearer 1
sudo -u magento_user php bin/magento cache:flush
Upgrades
Magento provides options to the setup:install and setup:upgrade commands that enable safe installations and rollbacks:
--safe-mode=1- Creates a data dump during the installation or upgrade process--data-restore=1- (Used with thesetup:upgradecommand only) Performs a rollback. Before you rollback, you must first check out code to the previous version of Magento. Then runsetup:upgrade --data-restore=1
Configuration instructions
- Login into Admin
- Go to "Stores -> Configuration -> Sales -> Shipping Methods"
- In "Calcurates [by Calcurates]":
- "Calcurates API Token" - token obtained in Calcurates platform
- "Magento API Token" - token should be generated and added into Calcurates platform
- Configure Magento API Integration token as shown in - Magento Integration Token Instructions
API Permissions
- Calcurates API resource
- Stores → Settings → All Stores (the codes are
Calcurates_ModuleMagento::apiandMagento_Backend::store)
Set only one source per order item for shipping information added as extension attribute for order item
cd path_to_magento
sudo -u magento_user php bin/magento config:set carriers/calcurates/unique_order_item_source 1
sudo -u magento_user php bin/magento cache:flush
统计信息
- 总下载量: 30.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2019-08-22