-
-
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
Allow to add product with 0.00 price #374
Conversation
@pjedrzejewski Is it the good way ? |
@@ -46,12 +46,6 @@ Feature: Product variants | |||
When I press "Create" | |||
Then I should see "Variant with this option set already exists." | |||
|
|||
Scenario: Trying to create product variant with invalid price | |||
Given I am creating variant of "Black T-Shirt" | |||
When I fill in "Price" with "0.00" |
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.
Maybe replace "0.00" with string like "invalid price" or something similar to keep this scenario instead just removing it?
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 should not be removed definitely. Why not just checking if the price is not negative? So change the validation to minimum 0.00, and enter negative amount in the scenario.
Is is better ? |
Yeah! Let's wait for travis. :) |
Green 👍 |
Allow to add product with 0.00 price
Thank you Jeremy! |
[Taxation] Update docs
No description provided.