定制 calcurates/module-magento 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

calcurates/module-magento

Composer 安装命令:

composer require calcurates/module-magento

包简介

Calcurates Integration for Magento

README 文档

README

Calcurates magento module

Requirements

  • Magento >= 2.3.7
  • PHP >= 7.3

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 the setup:upgrade command only) Performs a rollback. Before you rollback, you must first check out code to the previous version of Magento. Then run setup:upgrade --data-restore=1

Configuration instructions

  1. Login into Admin
  2. Go to "Stores -> Configuration -> Sales -> Shipping Methods"
  3. In "Calcurates [by Calcurates]":
    • "Calcurates API Token" - token obtained in Calcurates platform
    • "Magento API Token" - token should be generated and added into Calcurates platform
  4. 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::api and Magento_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

统计信息

  • 总下载量: 33.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 5
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2019-08-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固