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

[Behat][Promotion] Percentage discount on products from specific taxon #4286

Conversation

Zales0123
Copy link
Member

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets #3368
License MIT
Doc PR

This is next portion of scenarios about promotions - however this time it would finally require some more coding 😄 However, for now there is only feature, which describes new promotions case - applying promotions only to product from specific taxon.

@Zales0123 Zales0123 force-pushed the percentage-discount-on-products-from-specific-category branch from 41e0783 to 47d8dc2 Compare February 24, 2016 13:18
And the store has a product "PHP Mug" priced at "€20.00"
And it belongs to "Mugs"
And there is a promotion "T-Shirts promotion"
And it gives "20%" percentage discount to every order item containing products from "T-Shirts" taxon
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO: to every order item containing products from "T-Shirts" taxon

@Zales0123 Zales0123 force-pushed the percentage-discount-on-products-from-specific-category branch 2 times, most recently from 10ac1f6 to fb2e0f3 Compare February 24, 2016 14:55

@todo
Scenario: Receiving different discounts on different categories
And there is a promotion "Mugs promotion"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given?

@pjedrzejewski pjedrzejewski added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). New Feature labels Feb 24, 2016
@Zales0123 Zales0123 force-pushed the percentage-discount-on-products-from-specific-category branch from fb2e0f3 to 59abddd Compare February 25, 2016 08:23
And the store has a product "PHP Mug" priced at "€20.00"
And it belongs to "Mugs"
And there is a promotion "T-Shirts promotion"
And it gives "20%" percentage discount to every order item from "T-Shirts" taxon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

20% percentage??? This step sounds almost technical.

And it gives 20% off every product classified as "T-Shirts"

WDYT?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or we can replace off with discount, does not matter imho.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been done this way in previous scenarios ;) but sure, I think we can skip this percentage word.

@Zales0123 Zales0123 force-pushed the percentage-discount-on-products-from-specific-category branch 2 times, most recently from e4e97d4 to 29d580b Compare February 29, 2016 14:01
@Zales0123 Zales0123 force-pushed the percentage-discount-on-products-from-specific-category branch from 29d580b to d448349 Compare March 1, 2016 09:24
michalmarcinkowski added a commit that referenced this pull request Mar 1, 2016
…ts-from-specific-category

[Behat][Promotion] Percentage discount on products from specific taxon
@michalmarcinkowski michalmarcinkowski merged commit 98b9263 into Sylius:master Mar 1, 2016
@michalmarcinkowski
Copy link
Contributor

👍

@Zales0123 Zales0123 deleted the percentage-discount-on-products-from-specific-category branch October 28, 2016 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants