Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ugly poc #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ugly poc #1

wants to merge 1 commit into from

Conversation

gabiudrescu
Copy link
Owner

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Related tickets mentioned in Sylius#5772
License MIT

The promotion has been configured like this:
image

The cart behavior is this:
image

The downside is I couldn't make this accept multiple taxons, therefor, to have a functional POC, I reduced it to only one taxon as a filter.

This means we can implement campaigns such as "if you have products from books taxon in cart, apply 10% item discount on products from books taxon", but we lack "if you have products from books taxon in cart, apply 10% item discount on products from books and mobile phone taxons".

Let's hope @vcraescu brings light to this 👯

@gabiudrescu
Copy link
Owner Author

@vcraescu - we have this in https://github.com/Sylius/Sylius/blob/v0.18.0/src/Sylius/Component/Core/Promotion/Filter/TaxonFilter.php so we should be able to use it in our fork. hopefully. me happy ^^

gabiudrescu pushed a commit that referenced this pull request Jun 6, 2017
gabiudrescu pushed a commit that referenced this pull request Jun 6, 2017
[Behat] Add scenarios for adding select attribute type
gabiudrescu pushed a commit that referenced this pull request Jun 6, 2017
Make channel pricing translatable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant