milkyway-multimedia/ss-shop-order-history 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

milkyway-multimedia/ss-shop-order-history

Composer 安装命令:

composer require milkyway-multimedia/ss-shop-order-history

包简介

A basic history and communication record for orders

README 文档

README

Silverstripe Shop Order History add some additional versioning and history to your orders, allowing you to completely use the CMS for order management, and plugging into external communication tools (only email is supported for now).

This makes a few changes to the current order processing within the shop module, in that the main source of status logging is via the status log, rather than through the Order itself. This allows users to set up their own statuses. If you do not like this idea, you can always decorate the OrderStatusLog class and replace the field with a dropdown.

IMPORTANT NOTE

This completely replaces the OrderStatusLog class with the OrderLog class. It is not actually used very much in the default module, I have made it more useful for my specific use cases.

Features

A few of the features this module provides includes:

  1. Full history - plugs in to Order events (and also relevant objects such as member, items, modifiers, address and payment depending on event)
  2. Communication log - send emails via the CMS related to orders
  3. Attach tracking number to orders
  4. New front end actions for order owners
    • Forward via email
    • Print order
    • Repeat orders

Install

Add the following to your composer.json file


    "require"          : {
		"milkyway-multimedia/ss-shop-order-history": "~0.3"
	}

Usage

Enabling the new front end actions

These have to be added manually as extensions to: Milkyway\SS\Shop\OrderHistory\Actions\Handler in your _config.yml file. By default, these add logs to the order so users/admins know what they have done.

Enable forward via email


    Milkyway\SS\Shop\OrderHistory\Actions\Handler:
      extensions:
        - Milkyway\SS\Shop\OrderHistory\Actions\ForwardViaEmail

Enable printing


    Milkyway\SS\Shop\OrderHistory\Actions\Handler:
      extensions:
        - Milkyway\SS\Shop\OrderHistory\Actions\Printable

Enable repeat orders


    Milkyway\SS\Shop\OrderHistory\Actions\Handler:
      extensions:
        - Milkyway\SS\Shop\OrderHistory\Actions\RepeatOrder

License

  • MIT

Version

  • Version 0.3 (Alpha)

Contact

Milkyway Multimedia

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固