rapidez/customer-pricing
Composer 安装命令:
composer require rapidez/customer-pricing
包简介
Support for the justbetter/magento2-customer-pricing magento extension
README 文档
README
This package adds Rapidez support for the justbetter/magento2-customer-pricing magento extension. This package will not work without this extension.
Installation
composer require rapidez/customer-pricing
Usage
This adds to the Product model:
- A
customerPricingrelation that retrieves all customer prices and tiers for the given product - The
customerPrice(int $customerId, int $quantity = 1)function which returns a customer price at the given tier, or null when none is found. - The
customerTierPrices(int $customerId)function which returns all of the tier prices for a given customer (if any).
This package also adds a simple frontend implementation that can be used by adding the customer-price component onto your page. For example:
<customer-price v-bind:product-id="addToCart.simpleProduct.entity_id" v-bind:quantity="addToCart.qty" v-slot="{ customerPrice }" > <span>@{{ customerPrice || addToCart.price }}</span> </customer-price>
Requests made for this component get bundled together (collected over 100ms), allowing this to be used the same way in product listings.
License
GNU General Public License v3. Please see License File for more information.
rapidez/customer-pricing 适用场景与选型建议
rapidez/customer-pricing 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.76k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 09 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「rapidez」 「customer-pricing」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rapidez/customer-pricing 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rapidez/customer-pricing 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rapidez/customer-pricing 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Rapidez Reviews
Rapidez Experius Postcode NL implementation
Rapidez Amasty Label
Rapidez MSI
Rapidez MagePrince Faq
Implements VIES validation to use on VAT fields in Rapidez
统计信息
- 总下载量: 1.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2024-09-18