setono/sylius-promotion-extensions-plugin
最新稳定版本:v1.4.0
Composer 安装命令:
composer require setono/sylius-promotion-extensions-plugin
包简介
Common promotion extensions for Sylius
关键字:
README 文档
README
Adds common promotion rules and actions for you to use in Sylius.
Installation
Step 1: Download the plugin
$ composer require setono/sylius-promotion-extensions-plugin
Step 2: Enable the plugin
Then, enable the plugin by adding it to the list of registered plugins/bundles
in the config/bundles.php file of your project:
<?php return [ // ... Setono\SyliusPromotionExtensionsPlugin\SetonoSyliusPromotionExtensionsPlugin::class => ['all' => true], // ... ];
Promotion rule checkers
Has at least n from taxons
Will return true if the cart contains n or more products that have the given taxons.
Promotion actions
Unit fixed price
You set a price that all matching products will cost no matter their original price.
Fixed lot price
This is specially suited for 'x for y' promotions, i.e. '2 for $50'. You set a lot price (i.e. $50) and a lot size (i.e. 2) and then the promotion will distribute the discount among the eligible products in the cart.
统计信息
- 总下载量: 24.34k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-16