Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Add discount information to Cart #683

@naydav

Description

@naydav

Need to add information about discounts to Cart type and Cart Item type

For easy clarification of requested data need to create cart rule in admin and pick up information from the shopping cart page on frontend

Needed data:

  • shopping cart catalog promotion (price on sale) display
  • shopping cart line item promotion display (BOGO $/%)

Scheme
app/code/Magento/QuoteGraphQl/etc/schema.graphqls

type CartPrices

Functionality should be covered with API-functional tests
Examples:
https://github.com/magento/graphql-ce/tree/2.3-develop/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest
https://github.com/magento/graphql-ce/tree/2.3-develop/dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer

Guide:
https://devdocs.magento.com/guides/v2.3/graphql/functional-testing.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution DayTickets is good for start on Contribution Day

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions