承接 mediabeastnz/craft-commerce-click-and-collect 相关项目开发

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

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

mediabeastnz/craft-commerce-click-and-collect

Composer 安装命令:

composer require mediabeastnz/craft-commerce-click-and-collect

包简介

Click And Collect plugin for Craft Commerce 2

README 文档

README

Click And Collect plugin for Craft Commerce 2

Click And Collect plugin for Craft Commerce 2

Click & Collect for Craft Commerce allows you to quickly start allowing your customers to pick their orders up in store rather than their items being shipped to them.

This can save businesses courier/shipping costs, get products to customers faster and provider a better service.

This plugin will allow you to manage and create multiple store locations in which the customer can select from. IT will be up to you to implement this logic on the frontend however you'll find some quickstart examples below.

Along with store management, this plugin will automatically create a Shipping method which can be renamed. This will be the method that customers choose if they wish to collect in store.

If a customer chooses to pick their order up in store, the plugin will update their order with the selected shipping mehtod and use a custom field to save their selected store.

Installation

Either by the plugin store (search "Click And Collect") or via composer.

"mediabeastnz/craft-commerce-click-and-collect": "^1.0.0"

Requirements

This plugin requires Craft CMS 3.0.0 or later and Craft Commerce 2.0 or later.

Setup

As mentioned above, this plugin doesn't provide any frontend widgets only the necessary data in which you can use to implement any sort of checkout process.

Please use this process as a reference when first installing:

  1. Once the plugin is installed navigate to the plugins settings screen and update any default settings.

  2. Next you will need to create your cusatom order field. Create a new field using the Click & Collect Stores field and remember to set its handle as it is in the settings. a. The handle needs to match the plugin setting Stores Field Handle.

  3. Add your new field to the Order Fields under the Commerce System Settings. a. Note you can name the tab what ever suits. This field will only ever be used when the Orders Shipping Method is pickup in store (or whatever you called it).

  4. Create a few Stores

  5. Now all that's left is to update your frontend for your store to allow customers to select the new shipping method and stores. a. Below are some code examples to get you started as well screenshots of how other stores have implemented this feature.

Examples / Recommendations

List out all Stores

{# First query for all Stores | You could also filter this list if required #}
{% set stores = craft.clickandcollect.stores.all() %}
{# Get the storeFieldHandle as per your settings | This is what stores the selected store #}
{% set storeFieldHandle = craft.clickandcollect.settings.storeFieldHandle %}
{% for store in stores %}
    <div class="shipping-select">
        <label>
            <input type="radio" name="{{storeFieldHandle}}" value="{{ store.id }}" />
            <strong>{{ store.title }}</strong>
            <span class="price">{{ store.address.city }}</span> {# You have access to the full address model here #}
        </label>
    </div>
{% endfor %}

Example of implementation

The examples below are screenshots of what is possible. A small amount of javascript and you'll be up and running in no time.

On the checkout page (step 1)

example

Delivery options (step 1)

example 2

Plugin Screenshots

Basic frontend setup

frontend

Custom Field in an order/cart

custom field

Custom Field in the Order Fields

custom field setup

Custom Order Status

order status

Custom Order Status - Dashboard

order status dashboard

Plugin Settings

plugin settings

Feature Requests

Feature requests are always welcome, if you have any ideas please either submit an issue here or contact me at www.mylesderham.dev.

Roadmap

  • Dashboard to see incoming pickup orders, stats on delivery vs pickup
  • Better documentation on how to implement frontend
  • Create a few Event hooks to allow other plugins to integrate

mediabeastnz/craft-commerce-click-and-collect 适用场景与选型建议

mediabeastnz/craft-commerce-click-and-collect 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 861 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 06 月 02 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「commerce」 「instore」 「Craft」 「craftcms」 「collect」 「craft-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

围绕 mediabeastnz/craft-commerce-click-and-collect 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-06-02