free
web stats

Fill the form & Get Installation Support

Connect With Us





captcha

Connect With Us





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

 

 

Was this article helpful?
YesNo
Fill the below form if you have any Magento programming need.




captcha