I'm using Magento 2.3.2. I've successfully completed all cart-related tasks (create cart, add a product, select shipping& payment methods, and place the order) using GraphQL.

GraphQL seems not to include the product real final price after applying the catalog rule.

有帮助吗?

解决方案

Copying the XML configuration files found in vendor/magento/module-catalog-rule/etc/webapi_rest/*.xml into a custom module in the etc/graphql area appears to resolve this issue.

See this article for full details: https://www.cadence-labs.com/2019/09/magento-2-3-fix-graphql-does-not-reflect-catalog-rule-discounts/

许可以下: CC-BY-SA归因
scroll top