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

[CartPromotion][API][UI] Apply on discounted flag added #13328

Conversation

AdamKasp
Copy link
Contributor

@AdamKasp AdamKasp commented Nov 24, 2021

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
License MIT

@AdamKasp AdamKasp requested a review from a team as a code owner November 24, 2021 12:41
@AdamKasp AdamKasp changed the title [CartPromotion][API][UI] Apply on discounted flag added to cart promotion [CartPromotion][API][UI] Apply on discounted flag added Nov 24, 2021
@AdamKasp AdamKasp force-pushed the apply-on-discounted-toogle-added-to-cart-promotion-form branch from 91469cd to 18c4f06 Compare November 24, 2021 18:34
@probot-autolabeler probot-autolabeler bot added Admin AdminBundle related issues and PRs. API APIs related issues and PRs. labels Nov 24, 2021
"rules": [],
"actions": [],
"applyOnDiscounted": false,
"createdAt": @string@,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"createdAt": @string@,
"createdAt": @string@.isDateTime(),

"actions": [],
"applyOnDiscounted": false,
"createdAt": @string@,
"updatedAt": @string@
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"updatedAt": @string@
"updatedAt": @string@.isDateTime()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it doesn't work in this way, the checker see it as a string @string@.isDateTime()

@AdamKasp AdamKasp force-pushed the apply-on-discounted-toogle-added-to-cart-promotion-form branch from 18c4f06 to 890948d Compare November 25, 2021 12:57
@AdamKasp AdamKasp force-pushed the apply-on-discounted-toogle-added-to-cart-promotion-form branch from 9dc073e to 105b62f Compare December 1, 2021 11:11
@AdamKasp AdamKasp force-pushed the apply-on-discounted-toogle-added-to-cart-promotion-form branch from 5af5b6e to 5d007dc Compare December 1, 2021 13:30
@AdamKasp AdamKasp force-pushed the apply-on-discounted-toogle-added-to-cart-promotion-form branch 2 times, most recently from 629c8b1 to 290c5dd Compare December 2, 2021 09:29
@AdamKasp AdamKasp force-pushed the apply-on-discounted-toogle-added-to-cart-promotion-form branch from 290c5dd to 81539f5 Compare December 2, 2021 09:34
@GSadee GSadee merged commit db54c29 into Sylius:master Dec 2, 2021
@GSadee
Copy link
Member

GSadee commented Dec 2, 2021

Thanks, Adam! 🥇

AdamKasp added a commit that referenced this pull request Dec 9, 2021
…nly on non discounted products (GSadee, SirDomin)

This PR was merged into the 1.11-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | based on #13328
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.10 branch
 - Features and deprecations must be submitted against the master 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
-->


Commits
-------

4413793 [CartPromotion][CatalogPromotion][Behat] Add scenarios for receiving discount only on non discounted products
a65561e [CartPromotion][CatalogPromotion][Behat] Implement scenarios for receiving discount only on non discounted products
3556f47 [CartPromotion][CatalogPromotion][Behat] Fixes after rebase with changing the name of field
1f1e798 [CartPromotion][CatalogPromotion] Receiving discount only on non discounted products for unit cart promotions
372365b [WIP][CartPromotion][CatalogPromotion] Receiving discount only on non discounted products for fixed order cart promotions
e735927 [CartPromotion] handle fixed and percentage order discount
9ce4cb8 [MinimumPrice][ApplyOnDiscounted] merge solutions for apply on discount and minimum prices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs. API APIs related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants