offline/oc-mall-plugin
Composer 安装命令:
composer require offline/oc-mall-plugin
包简介
E-commerce solution for October CMS
关键字:
README 文档
README
Mall
The all-inclusive e-commerce solution of OctoberCMS.
Mall is a fully featured online shop solution for October CMS.
- Manage Products and Variants
- Virtual products (download only, no shipping)
- Product services (e. g. extended warranty, on-site installation)
- Stock management
- Wishlists
- Reviews and ratings
- Checkout via Stripe, PayPal and PostFinance supported out-of-the-box
- Custom payment providers
- Integrated with RainLab.User
- Multi-currency and multi-language (integrates with RainLab.Translate)
- Shipping and Tax management
- Specific prices for different customer groups
- Unlimited additional price fields (reseller, retail, reduced, etc)
- Custom order states
- Flexible e-mail notifications
- Easily extendable with custom features
- Google Tag Manager and Google Merchant Center integrations
Read More
- Mall on OctoberCMS Marketplace
- Mall Demo Theme on OctoberCMS Marketplace
- Official Documentation
- Demonstration Website
Requirements
- PHP 7.4+ | 8.0+
- OctoberCMS 2.2+ | v3.0+
- MySQL 5.7+ | v8.0+ or MariaDB v10.2+ or SQLite v3.19+
We highly recommend not using SQLite on production environments, especially for larger Shops.
There is also a legacy version of this plugin available, that works with OctoberCMS v1. However, this version is no longer updated nor supported.
Support
For support and development requests please file an issue on GitHub.
Installation
The easiest way to get you started is by using the command line:
composer require \ rainlab/user-plugin \ rainlab/location-plugin \ rainlab/translate-plugin \ offline/oc-mall-plugin
Once the plugin is installed take a look at the official documentation to get everything up and running.
Benchmarks
Below are some totally unscientific benchmarks created on a lazy Saturday afternoon. These tests were run on a DigitalOcean CPU optimized Droplet with 2 vCPU and 4GB RAM. October was run on Ubuntu 1 8.04, PHP 7.2.10, Apache 2.4.19 and MySQL 5.7.24.
All measurements were done using the Bedard.Debugbar plugin and are the average load time over 10 page loads (I told you they were unscientific!).
Index size defines the size of the offline_mall_index table. This table includes de-normalized
information about all Products and Variants. An index size of 1000 means there are 1000 individual
Variants and Products stored. The demo data used was built using the php artisan mall:seed-demo
command run in an infinite loop.
Category page load is the page load time measured when a category page is loaded. All stored
products will be filtered, sorted (by sales count) and counted by the currently viewed category_id.
Nine of these products will be displayed and the pagination will be built based on the returned
number of results.
Filtered page load is the page load time measured when two filters are being enabled (filter by
the color Red and the material Carbon). In this case all products will be filtered by their
category, their color and their material. The pagination will be built based on the returned number
of results.
| Index size | Category page load | Filtered page load |
|---|---|---|
| 1'000 | 290 ms | 281 ms |
| 5'000 | 301 ms | 295 ms |
| 10'000 | 324 ms | 318 ms |
| 50'000 | 448 ms | 433 ms |
| 100'000 | 586 ms | 570 ms |
| 200'000 | 912 ms | 865 ms |
| 300'000 | 1300 ms | 1240 ms |
Please be aware that these benchmarks are only here to show you how this plugin behaves under different loads and the times will vary depending on the hardware, configuration and setup of your installation. If you really want to know how well the plugin performs install it yourself and give it a go!
Contributing
Documentation
The raw documentation for this plugin is stored in the src/docs directory. It is written in
markdown and Vue and built with VitePress.
for a live preview of the documentation, visit the root plugin directory, install the dependencies
using npm i (ensure node.js and npm is installed on your machine first) and run the local server
using npm run docs:dev.
Bugs and feature requests
If you found a bug or want to request a feature please file a GitHub issue.
Pull requests
PRs are always welcome! Open them against the next branch. If you plan a time consuming
contribution please open an issue first and describe what changes you have in mind.
offline/oc-mall-plugin 适用场景与选型建议
offline/oc-mall-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.69k 次下载、GitHub Stars 达 174, 最近一次更新时间为 2019 年 01 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「shop」 「plugin」 「cms」 「e-commerce」 「october」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 offline/oc-mall-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 offline/oc-mall-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 offline/oc-mall-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Admin Hub for GetCandy. A modern headless e-commerce solution for Laravel PHP framework.
Submodule for SilverShop which allows you to compare products in a table.
统计信息
- 总下载量: 4.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 174
- 点击次数: 20
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-08
