free
web stats

Fill the form & Get Installation Support

We don't monkey around your business.

GET IN TOUCH WITH US NOW





captcha

How to add extension attribute for quote field in Magento 2?

Define the extension attribute in XML

app/code/Vendor/Module/etc/extension_attributes.xml

Assigning the value for extension attributes in knockout js 

app/code/Vendor/Module/view/frontend/web/js/shipping-save-processor-default.js

Save Extension Attribute to quote table using beforeSaveAddressInformation method using Plugin

app/code/Vendor/Module/Model/Checkout/ShippingInformationManagementPlugin.php