SyliusCatalogPromotionPlugin
SyliusCatalogPromotionPlugin copied to clipboard
Create catalog promotions in your Sylius store. Allows you to easily setup rules to change prices on all your products
See https://github.com/Setono/SyliusGiftCardPlugin/pull/264/files#diff-7e0b76853fb08ee1e7faedc0cc2541645c811d3a65863449775ea9335274c021
This PR tries to aid in fixing a weird bug where `manually_discounted` is being set to `true` although it shouldn't ;)
The process promotions command is divided into three phases: 1. Mark the products we need to handle 2. Update the multiplier on products based on rules 3. Update the prices...
The rules have to be tested before v1
These are the behat tests we need for a v1 of this plugin - Test the creation and editing of discounts - Test the CLI command
Instead of only allowing a percentage discount on products, it would make sense to also allow: - Setting a fixed price for the affected products - Setting a fixed discount...
Since promotions are applied at runtime we should be able to preview e.g. future promotions