定制 behappy/shipping-rates-plugin 二次开发

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

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

behappy/shipping-rates-plugin

Composer 安装命令:

composer require behappy/shipping-rates-plugin

包简介

A Sylius plugin to add more shipping calculators.

README 文档

README

A Sylius plugin to add more shipping calculators.

Installation-procedure

$ composer require behappy/shipping-rates-plugin

Enable the plugin

// in app/AppKernel.php
public function registerBundles() {
	$bundles = array(
		// ...
        new \BeHappy\SyliusShippingRatesPlugin\BeHappySyliusShippingRatesPlugin(),
    );
    // ...
}
#in app/config/config.yml
imports:
    ...
    - { resource: "@BeHappySyliusShippingRatesPlugin/Resources/config/config.yml" }
    ...

That's it !

You now have access to 3 new shipping calculators :

  • 'Shipping rate by weight ranges' to charge according to the total order weight
  • 'Shipping rate by price ranges' to charge according to the total order price
  • 'Selling price percentage (%)' to charge a % of the order total

Warning

/!\ In order to add ranges definition, you first have to save your shipping method with the calculator, then add ranges. This is due to Sylius and Javascript event management than won't properly trigger events on dynamically added elements

Feel free to contribute

You can also ask your questions at the mail address in the composer.json mentioning this package.

Other

You can also check our other packages (including Sylius plugins) at https://github.com/BeHappyCommunication

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固