outeredge/edge-magento-module-multipledelivery

<outer/edge 开发的简单多重配送选项模块

1.0.0 2015-07-02 10:36 UTC

This package is auto-updated.

Last update: 2024-09-14 19:31:02 UTC


README

为 Magento 提供多重配送方式模块

在 Magento 配置中添加配送方式,允许使用 json 编码字符串添加多个配送方式。

可用选项

  • enabled (布尔值)
  • title (字符串)
  • description (字符串)
  • price (浮点数)
  • cost (浮点数)
  • postcodes (数组)
  • postcode_condition (允许|限制)

一个示例配置

{
    "nextday": {
        "enabled": true,
        "title": "Next Day",
        "description": "Next day delivery",
        "price": 5,
        "postcodes": ["PO20","PO19"],
        "postcode_condition": "restrict"
    },
    "nextdaybefore10": {
        "enabled": true,
        "title": "Next Day (before 10am)",
        "description": "Receive your items before 10am",
        "price": 10,
        "postcodes": ["PO20","PO19"],
        "postcode_condition": "allow"
    }
}