Open RanayCodes opened 3 months ago
Hi @RanayCodes. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
Preconditions and environment
Magento version: v2.4.5 Community Pwa Studio v14.0.0
To reproduce
Steps to reproduce the behavior:
Expected behavior
Cart page and checkout should be working fine
Screenshots
Actual Results
Cart page is blank and not allow to complete checkout
The error logs in the Magento var/log/:
GraphQL (1:1655) 1: query GetCartDetails($cartId:String!){cart(cart_id:$cartId){id ...CartPageFragment typename}}fragment CartPageFragment on Cart{id total_quantity ...AppliedCouponsFragment ...GiftCardFragment ...ProductListingFragment ...PriceSummaryFragment __typename}fragment AppliedCouponsFragment on Cart{id applied_coupons{code typename}typename}fragment GiftCardFragment on Cart{applied_gift_cards{code current_balance{currency value typename}typename}id __typename}fragment ProductListingFragment on Cart{id items{uid product{uid name sku url_key thumbnail{url typename}small_image{url typename}stock_status ...on ConfigurableProduct{variants{attributes{uid code value_index typename}product{uid stock_status small_image{url typename}typename}typename}typename}typename}prices{price{currency value typename}row_total{value typename}total_item_discount{value typename}typename}quantity errors{code message typename}...on ConfigurableCartItem{configurable_options{id configurable_product_option_uid option_label configurable_product_option_value_uid value_label value_id typename}typename}typename}typename}fragment PriceSummaryFragment on Cart{id items{uid quantity typename}...ShippingSummaryFragment prices{...TaxSummaryFragment ...DiscountSummaryFragment ...GrandTotalFragment subtotal_excluding_tax{currency value typename}subtotal_including_tax{currency value typename}typename}...GiftCardSummaryFragment ...GiftOptionsSummaryFragment typename}fragment DiscountSummaryFragment on CartPrices{discounts{amount{currency value typename}label typename}typename}fragment GiftCardSummaryFragment on Cart{id applied_gift_cards{code applied_balance{value currency typename}typename}typename}fragment GiftOptionsSummaryFragment on Cart{id prices{gift_options{printed_card{value currency typename}typename}typename}typename}fragment GrandTotalFragment on CartPrices{grand_total{currency value typename}typename}fragment ShippingSummaryFragment on Cart{id shipping_addresses{selected_shipping_method{amount{currency value typename}typename}street typename}__typename}fragment TaxSummaryFragment on CartPrices{applied_taxes{amount{currency value typename}typename}__typename} ^ [] [] [2024-05-15T13:16:08.745883+00:00] main.ERROR: Cannot query field "gift_options" on type "CartPrices".
GraphQL (1:1797) 1: query GetCartDetails($cartId:String!){cart(cart_id:$cartId){id ...CartPageFragment typename}}fragment CartPageFragment on Cart{id total_quantity ...AppliedCouponsFragment ...GiftCardFragment ...ProductListingFragment ...PriceSummaryFragment __typename}fragment AppliedCouponsFragment on Cart{id applied_coupons{code typename}typename}fragment GiftCardFragment on Cart{applied_gift_cards{code current_balance{currency value typename}typename}id __typename}fragment ProductListingFragment on Cart{id items{uid product{uid name sku url_key thumbnail{url typename}small_image{url typename}stock_status ...on ConfigurableProduct{variants{attributes{uid code value_index typename}product{uid stock_status small_image{url typename}typename}typename}typename}typename}prices{price{currency value typename}row_total{value typename}total_item_discount{value typename}typename}quantity errors{code message typename}...on ConfigurableCartItem{configurable_options{id configurable_product_option_uid option_label configurable_product_option_value_uid value_label value_id typename}typename}typename}typename}fragment PriceSummaryFragment on Cart{id items{uid quantity typename}...ShippingSummaryFragment prices{...TaxSummaryFragment ...DiscountSummaryFragment ...GrandTotalFragment subtotal_excluding_tax{currency value typename}subtotal_including_tax{currency value typename}typename}...GiftCardSummaryFragment ...GiftOptionsSummaryFragment typename}fragment DiscountSummaryFragment on CartPrices{discounts{amount{currency value typename}label typename}typename}fragment GiftCardSummaryFragment on Cart{id applied_gift_cards{code applied_balance{value currency typename}typename}typename}fragment GiftOptionsSummaryFragment on Cart{id prices{gift_options{printed_card{value currency typename}typename}typename}typename}fragment GrandTotalFragment on CartPrices{grand_total{currency value typename}typename}fragment ShippingSummaryFragment on Cart{id shipping_addresses{selected_shipping_method{amount{currency value typename}typename}street typename}__typename}fragment TaxSummaryFragment on CartPrices{applied_taxes{amount{currency value typename}typename}__typename}