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
Fix configuring amount for catalog promotions fixed discount actions #15214
Conversation
Bunnyshell Preview Environment deletedAvailable commands:
|
'constraints' => [ | ||
new Type(['type' => 'numeric', 'groups' => ['sylius']]), | ||
], |
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.
I'm wondering maybe the groups
option should be passed through the constructor. Now it cannot be easily changed, as you need to remove, and add a given field.
Given the store operates on a single channel in "United States" | ||
And I am logged in as an administrator | ||
|
||
@ui @no-api @javascript |
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.
@ui @no-api @javascript | |
@no-api @ui @javascript |
or
@ui @no-api @javascript | |
@ui @javascript @no-api |
🤔
@@ -0,0 +1,20 @@ | |||
@managing_catalog_promotions | |||
Feature: Adding a new catalog promotion with fixed discount where amount is a decimal number with comma |
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.
This scenario could be added as an additional one to the feature for creating catalog promotions as the purpose is IMO the same, there is no need to create a separate feature file for that.
Thank you, Kamil! 🥇 |
… discount actions (TheMilek, NoResponseMate) This PR was merged into the 1.12 branch. Discussion ---------- | Q | A | |-----------------|--------------------------------------------------------------| | Branch? | 1.12 <!-- see the comment below --> | | Bug fix? | yes | | New feature? | no | | BC breaks? | no | | Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> | | License | MIT | <!-- - Bug fixes must be submitted against the 1.12 branch - Features and deprecations must be submitted against the 1.13 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> Same issue like [here](#15214) Commits ------- 92562de Fix configuring amount for cart promotions item percentage discount actions eb13a29 [Behat][Promotion] Update percentage decimal places tests
it is now possible to configure decimal amounts with comma without validation errors