As per my project requirement, I need to hide the address field for quote data.

when ($quote->getDeliveryMethod=='curbside') //custom data saving properly in quote table.

Anyone can help me.

Thanks in advance.

  • in short you need to modify or add layoutProcessor devdocs.magento.com/guides/v2.3/howdoi/checkout/… Jun 7, 2020 at 10:07
  • I want to remove address filed not add Jun 7, 2020 at 11:31
  • layoutProcessor does not mean it always adds a new attribute This is just an example, of layoutProcessor, it could be also used to modify existing attributes, Just access the array with your attribute_code as it is done to create the custom_attribute, but without the whole model stuff, if the attribute does exist it should be there, and access the visible field and set it to false Jun 8, 2020 at 11:02


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.