承接 thelia/dpd-classic-module 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

thelia/dpd-classic-module

Composer 安装命令:

composer require thelia/dpd-classic-module

包简介

README 文档

README

  • Home delivery with DPD
  • Export / import orders

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is DpdClassic.
  • Activate it in your thelia administration panel

Composer

Add it in your main thelia composer.json file:

composer require thelia/dpd-classic-module:~2.0.0

Usage

Once activated, you have to configure the module.

In the "Configure sender address", set the address from where orders will be sent (mainly your enterprise address).

In the "Price slices" tab, configure shipping fees depending on the cart's weight. You can also activate free shipping here.

Don't forget to assign the module to your shipping zones.

When customers order with this delivery method and when their orders are paid, orders appear in the "Export" tab. Here you can export them and select a new status for them.

Once you have exported orders and set them a delivery reference, you can import them in the "Import" tab.

When consulting an order done with DPD Classic, you can export it from the module tab of the order details.

Hook

Apart from module configuration, another hook is used to allow you to export one order. You can find it in the order detail page, in the "Modules" tab.

Loop

[dpdclassic.delivery]

Can be used to replace the "delivery" to check if the delivery module is DPD Classic for a specific integration.

Extends the delivery loop and has the same inputs and outputs, plus a MODULE_ID output representing DpdClassic module ID.

[dpdclassic.check.rights]

Used to check rights on the module.

Output arguments

Variable Description
$ERRMES Error message
$ERRFILE File on which user don't have rights

Example

{loop name="checkrights" type="dpdclassic.check.rights"}

{$ERRMES} {$ERRFILE} | {intl l="Please change the access rights"}.

{/loop}

{elseloop rel="checkrights"} Do something {/elseloop}

[dpdclassic.orders]

Extends the order loop and has the same inputs and outputs, but only returns orders done with DpdClassic module and with paid or processing status.

[dpdclassic]

Returns slices of weight and corresponding prices of DpdClassic.

Input arguments

Variable Description
area ID of the area from which you want prices

Output arguments

Variable Description
$MAX_WEIGHT Limit of the weight slice
$PRICE Price of the weight slice

[dpdclassic.urltracking]

Used for order tracking

Input arguments

Variable Description
ref Reference of the order you want to track

Output arguments

Variable Description
$URL URL for order tracking

Example

{loop name="tracking" type="dpdclassic.urltracking" ref=$REF} {intl l="Track parcel"} {intl l="here"} {/loop}

thelia/dpd-classic-module 适用场景与选型建议

thelia/dpd-classic-module 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 841 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 12 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 thelia/dpd-classic-module 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 thelia/dpd-classic-module 我们能提供哪些服务?
定制开发 / 二次开发

基于 thelia/dpd-classic-module 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-12-28