Developed with love by KnpLabs Hire us for your project!
27

SyliusPromotionBundle

by Sylius

[READ-ONLY] Flexible promotions system - time promotions, coupons, custom actions, rules for your Symfony2 ecommerce app.

SyliusPromotionBundle Build status...

Promotions engine for Symfony2 ecommerce applications.

Sylius

Sylius - Modern ecommerce for Symfony2. Visit Sylius.org.

phpspec examples

$ composer install
$ bin/phpspec run -fpretty

Documentation

Documentation is available on docs.sylius.org.

Contributing

All informations about contributing to Sylius can be found on this page.

Mailing lists

Users

Questions? Feel free to ask on users mailing list.

Developers

To contribute and develop this bundle, use the developers mailing list.

Sylius twitter account

If you want to keep up with updates, follow the official Sylius account on twitter.

Bug tracking

This bundle uses GitHub issues.
If you have found bug, please create an issue.

Versioning

Releases will be numbered with the format major.minor.patch.

And constructed with the following guidelines.

  • Breaking backwards compatibility bumps the major.
  • New additions without breaking backwards compatibility bumps the minor.
  • Bug fixes and misc changes bump the patch.

For more information on SemVer, please visit semver.org website.

This versioning method is same for all Sylius bundles and applications.

MIT License

License can be found here.

Authors

The bundle was originally created by Paweł Jędrzejewski.
See the list of contributors.

Copyright (c) 2011-2015 Paweł Jędrzejewski

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
sylius_promotion:
driver: ~ # Required
classes:
promotion:
model: Sylius\Component\Promotion\Model\Promotion
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
repository: ~
form: Sylius\Bundle\PromotionBundle\Form\Type\PromotionType
promotion_rule:
model: Sylius\Component\Promotion\Model\Rule
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
repository: ~
form: Sylius\Bundle\PromotionBundle\Form\Type\RuleType
promotion_action:
model: Sylius\Component\Promotion\Model\Action
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
repository: ~
form: Sylius\Bundle\PromotionBundle\Form\Type\ActionType
promotion_coupon:
model: Sylius\Component\Promotion\Model\Coupon
controller: Sylius\Bundle\PromotionBundle\Controller\CouponController
repository: ~
form: Sylius\Bundle\PromotionBundle\Form\Type\CouponType
promotion_subject: # Required
model: ~ # Required
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
validation_groups:
promotion:

# Default:
- sylius
promotion_rule:

# Default:
- sylius
promotion_coupon:

# Default:
- sylius
promotion_action:

# Default:
- sylius
promotion_rule_item_total_configuration:

# Default:
- sylius
promotion_rule_item_count_configuration:

# Default:
- sylius
promotion_rule_user_loyalty_configuration:

# Default:
- sylius
promotion_rule_shipping_country_configuration:

# Default:
- sylius
promotion_rule_taxonomy_configuration:

# Default:
- sylius
promotion_rule_nth_order_configuration:

# Default:
- sylius
promotion_action_fixed_discount_configuration:

# Default:
- sylius
promotion_action_percentage_discount_configuration:

# Default:
- sylius
promotion_action_add_product_configuration:

# Default:
- sylius
promotion_coupon_generate_instruction:

# Default:
- sylius
promotion_action_shipping_discount_configuration:

# Default:
- sylius
  • Set default driver in bundle configuration
    By mtthb, 2 years ago
  • Force 'classes' configuration
    By advancingu, 2 years ago
  • Version bump
    By pjedrzejewski, 2 years ago
  • Merge pull request #2380 from loevstroem/api
    By pjedrzejewski, 2 years ago
  • Add times to promotion start & end.
    By Richtermeister, 2 years ago
  • Better promotions API
    By loevstroem, 2 years ago
  • Adjust required version of StofDoctrineExtensionsBundle
    By Shine-neko, 2 years ago
  • Added promotion based on User Group
    By antonioperic, 3 years ago
  • Rename Variation/CHANGELOG filename & updated LICENSE files
    By stloyd, 3 years ago
  • Fix some translation keys & missing new lines at end of files
    By stloyd, 3 years ago
  • PhpSpec config has been added with ps4 support
    By aRn0D, 3 years ago
  • Make promotions soft-deleteable as well
    By pjedrzejewski, 3 years ago
  • Improve composer consistency
    By mtthb, 3 years ago
  • Add coupon timestamps
    By umpirsky, 3 years ago
  • Updating translations from Crowdin
    By SyliusBot, 3 years ago
  • Fix specs of Coupon form type
    By pjedrzejewski, 3 years ago
  • Allow setting coupon expiration from backend
    By umpirsky, 3 years ago
  • [PromotionBundle] Collection type refactoring
    By aRn0D, 3 years ago
  • [PromotionBundle] The collection form type uses the new CollectionExtension
    By aRn0D, 3 years ago
  • Don't force bundles to define prefix when extending `AbstractResourceBundle`
    By stloyd, 3 years ago
  • Version bump
    By pjedrzejewski, 3 years ago
  • Merge pull request #1675 from stloyd/bugfix/translation_keys
    By pjedrzejewski, 3 years ago
  • Add Contains Product promotion rule
    By winzou, 3 years ago
  • Version bump
    By pjedrzejewski, 3 years ago
  • One of ideas how we could fix problem with those translation keys
    By stloyd, 3 years ago
  • Fix random CS issues in code & phpdocs
    By stloyd, 3 years ago
  • [Promotion] Make sure that coupons are always unique
    By stloyd, 3 years ago
  • [PromotionBundle] Add missing dependency on CurrencyBundle
    By stloyd, 3 years ago
  • Merge pull request #1789 from jrobeson/replace-routing-pattern-with-path
    By pjedrzejewski, 3 years ago
  • Merge pull request #1819 from aRn0D/csfix/load
    By pjedrzejewski, 3 years ago