-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Behat][Promotion] Percentage discount on products from specific taxon #4286
Conversation
41e0783
to
47d8dc2
Compare
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 |
There was a problem hiding this comment.
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
10ac1f6
to
fb2e0f3
Compare
|
||
@todo | ||
Scenario: Receiving different discounts on different categories | ||
And there is a promotion "Mugs promotion" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given?
fb2e0f3
to
59abddd
Compare
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
e4e97d4
to
29d580b
Compare
29d580b
to
d448349
Compare
…ts-from-specific-category [Behat][Promotion] Percentage discount on products from specific taxon
👍 |
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.