setono/sylius-promotion-extensions-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

setono/sylius-promotion-extensions-plugin

最新稳定版本:v1.4.0

Composer 安装命令:

composer require setono/sylius-promotion-extensions-plugin

包简介

Common promotion extensions for Sylius

README 文档

README

Latest Version Latest Unstable Version Software License Build Status

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.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-16