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

[Api] Customer add product with discounted catalog price #13107

Conversation

Tomanhez
Copy link
Contributor

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

@Tomanhez Tomanhez added the Feature New feature proposals. label Sep 14, 2021
@Tomanhez Tomanhez requested a review from a team as a code owner September 14, 2021 20:55
@probot-autolabeler probot-autolabeler bot added the API APIs related issues and PRs. label Sep 14, 2021
@Tomanhez Tomanhez force-pushed the customer-add-product-with-discounted-catalog-price-api branch 8 times, most recently from e62ea76 to 01cec54 Compare September 15, 2021 10:47
@Tomanhez Tomanhez force-pushed the customer-add-product-with-discounted-catalog-price-api branch from 01cec54 to 72ac7fe Compare September 15, 2021 10:53
@Tomanhez Tomanhez force-pushed the customer-add-product-with-discounted-catalog-price-api branch from ab2e727 to 44ebd4a Compare September 15, 2021 14:25
@Tomanhez Tomanhez force-pushed the customer-add-product-with-discounted-catalog-price-api branch from 44ebd4a to a38a177 Compare September 15, 2021 14:31
Comment on lines 9 to 15
And the store has a "T-Shirt" configurable product
And this product has "PHP T-Shirt" variant priced at "$20"
And this product has "Kotlin T-Shirt" variant priced at "$400"
And the product "T-Shirt" has a "PHP T-Shirt" variant priced at "$20"
And the product "T-Shirt" has a "Kotlin T-Shirt" variant priced at "$400"
And the store has a "Keyboard" configurable product
And this product has "RGB Keyboard" variant priced at "$40"
And this product has "Pink Keyboard" variant priced at "$300"
And the product "Keyboard" has a "RGB Keyboard" variant priced at "$40"
And the product "Keyboard" has a "Pink Keyboard" variant priced at "$40"
And there is a catalog promotion "Winter sale" that reduces price by "25%" and applies on "PHP T-Shirt" variant
Copy link
Contributor

Choose a reason for hiding this comment

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

why did you changed it? imo with shared storage it looks better

Copy link
Contributor Author

@Tomanhez Tomanhez Sep 15, 2021

Choose a reason for hiding this comment

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

I had problems with ApiContexts

src/Sylius/Behat/Context/Api/Shop/CartContext.php Outdated Show resolved Hide resolved
@Tomanhez Tomanhez force-pushed the customer-add-product-with-discounted-catalog-price-api branch from 8403a85 to c1f90c6 Compare September 15, 2021 14:41
@GSadee GSadee merged commit 4bc0bf7 into Sylius:master Sep 16, 2021
@GSadee
Copy link
Member

GSadee commented Sep 16, 2021

Thanks, Tomasz! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs. Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants