承接 i-lateral/silverstripe-commerce-bulkprice 相关项目开发

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

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

i-lateral/silverstripe-commerce-bulkprice

Composer 安装命令:

composer require i-lateral/silverstripe-commerce-bulkprice

包简介

A Silverstripe module that adds discount prices to products when greater quantities are ordered

README 文档

README

Extension to silverstripe commerce module that allows you to alter a product's price when added to the cart, if a certain number of that product are added.

Author

This module is created and maintained by ilateral

Contact: morven@i-lateral.com

Dependancies

  • SilverStripe Framework 3.1.x
  • Silverstripe Commerce

Installation

Install this module either by downloading and adding to:

[silverstripe-root]/commerce-bulkdiscounts

Then run: dev/build/?flush=all

Or alternativly add to your project's composer.json

Usage

Once installed, you can navigate to a product in the admin and add bulk pricing under the "Bulk Prices" tab.

Each bulk price has 2 fields:

  • Quantity: The quantitiy of items needing to be purchased to qualify for the new price. This can be either a range (eg: 10-19), a fixed number (eg: 10) or an amount over a certain number (eg: 30+).
  • Price: The price that this bulk item will be charged at.

Once you have added this information and saved, it will be automatically used by the shopping cart when the relevent item is added with the specified quantity.

Adding a bulk price table to your product template

This module adds a variable to your catalogue controller that generates a table of bulk prices. This variable is:

$BulkPriceTable

Adding this variable to your product template will generate a table of pricing options.

Note If you want to customise this table, you can overwrite the BulkPriceTable.ss template file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-06-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固