This forum is now Read-Only. The Magento Community Forum is scheduled to close permanently on December 31, 2025. Please save any necessary information before this date. Join us on Slack for continued engagement!
Adding Custom field to Estimate Shipping And Tax block in cart page
I would like to add custom radio field in the Estimate Shipping and Tax block. I was able to add the input field but I'm not sure how to handle form submit or estimate-shipping-methods API. Currently I'm getting below error:
Message: Property "TypeOfAddress" does not have accessor method "getTypeOfAddress" in class "Magento\Quote\Api\Data\AddressInterface". {"exception":"[object] (Exception(code: 0): Report ID: webapi-5f6b509995f80; Message: Property \"TypeOfAddress\" does not have accessor method \"getTypeOfAddress\" in class "Magento\\Quote\\Api\\Data\\AddressInterface\". at
Could someone help how to process the extension attribute for Estimate Shipping and Tax block