[ARCHIVED] Please use magento/magento2 project
Open Software License 3.0
131
stars
156
forks
source link
Cannot return null for non-nullable field AvailableShippingMethod.method_code when no shipping methods are available #524
Closed
TomashKhamlai closed 5 years ago
Preconditions (*)
Steps to reproduce (*)
cart
:query { cart( cart_id: "mfdHyHY0QgtXW5LeHxfJ0nVCjWjy655n" ) { available_payment_methods { code title } shipping_addresses { available_shipping_methods { carrier_title method_code } }
} }
"available_shipping_methods": [ { "carrier_code": "freeshipping", "carrier_title": "Free Shipping", "method_code": null, "method_title": null, "error_message": "This shipping method is not available. To use this shipping method, please contact us.", "amount": 0, "base_amount": null, "price_excl_tax": 0, "price_incl_tax": 0, "available": false }