Magento 2 : Add a custom attributes to quoteMagento2 Add custom field to review formHow to add custom field in magento 2?Magento-2 : How to display custom field just after payment method list and save on place orderCustom checkout field doesn't save the value to quoteMagento 2 - add Enable / Disable field for custom moduleMagento2 checkout page add custom text fieldMagento 2: Override admin layout didn't work
In the MCU, why does Mjölnir retain its enchantments after Ragnarok?
Why does The Ancient One think differently about Doctor Strange in Endgame than the film Doctor Strange?
Does an object count as "being moved" when placed in a Bag of Holding before its wielder moves, and then after moving they take the object out again?
How can I watch the 17th (or last, if less) line in files of a folder?
Is “I am getting married with my sister” ambiguous?
Factoring the square of this polynomial?
How to persuade recruiters to send me the Job Description?
What magic extends life or grants immortality?
What is the appropriate benchmark for a Long/Short VIX futures strategy?
Are required indicators necessary for radio buttons?
Are illustrations in novels frowned upon?
Why would the US President need briefings on UFOs?
Ask for a paid taxi in order to arrive as early as possible for an interview within the city
Why is my Earth simulation slower than the reality?
Brexit and backstop: would changes require unanimous approval by all EU countries? Does Ireland hold a veto?
Is there a known non-euclidean geometry where two concentric circles of different radii can intersect? (as in the novel "The Universe Between")
Script that helps people make better choices
Justifying the use of directed energy weapons
What brought these couples together?
Avoiding racist tropes in fantasy
Why is 日本 read as "nihon" but not "nitsuhon"?
Can you help me understand Modes from the aspect of chord changes?
Three Singles in Three Clubs
System to validate run time complexity requirements
Magento 2 : Add a custom attributes to quote
Magento2 Add custom field to review formHow to add custom field in magento 2?Magento-2 : How to display custom field just after payment method list and save on place orderCustom checkout field doesn't save the value to quoteMagento 2 - add Enable / Disable field for custom moduleMagento2 checkout page add custom text fieldMagento 2: Override admin layout didn't work
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a custom quote module, that i would like to modify and add 2 custom fields,
The admin quote module is similar to sales order admin pages, so i want override the admin templates and layouts to add a text field and a boo-lean switch field and fields appears on the admin quote view page,
What i need to know, i should create an updateSchema class? and for the Quote model i should override it?
Also must i create an observer to save the fields when the quote is saved or it will be automatically saved?
Thanks to clear me, i'm Magento beginner.
magento2 overrides model
add a comment |
I have a custom quote module, that i would like to modify and add 2 custom fields,
The admin quote module is similar to sales order admin pages, so i want override the admin templates and layouts to add a text field and a boo-lean switch field and fields appears on the admin quote view page,
What i need to know, i should create an updateSchema class? and for the Quote model i should override it?
Also must i create an observer to save the fields when the quote is saved or it will be automatically saved?
Thanks to clear me, i'm Magento beginner.
magento2 overrides model
add a comment |
I have a custom quote module, that i would like to modify and add 2 custom fields,
The admin quote module is similar to sales order admin pages, so i want override the admin templates and layouts to add a text field and a boo-lean switch field and fields appears on the admin quote view page,
What i need to know, i should create an updateSchema class? and for the Quote model i should override it?
Also must i create an observer to save the fields when the quote is saved or it will be automatically saved?
Thanks to clear me, i'm Magento beginner.
magento2 overrides model
I have a custom quote module, that i would like to modify and add 2 custom fields,
The admin quote module is similar to sales order admin pages, so i want override the admin templates and layouts to add a text field and a boo-lean switch field and fields appears on the admin quote view page,
What i need to know, i should create an updateSchema class? and for the Quote model i should override it?
Also must i create an observer to save the fields when the quote is saved or it will be automatically saved?
Thanks to clear me, i'm Magento beginner.
magento2 overrides model
magento2 overrides model
edited Aug 10 at 6:16
Anas Mansuri
1,4342 silver badges16 bronze badges
1,4342 silver badges16 bronze badges
asked Aug 9 at 15:52
tarek fellahtarek fellah
468 bronze badges
468 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f285023%2fmagento-2-add-a-custom-attributes-to-quote%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f285023%2fmagento-2-add-a-custom-attributes-to-quote%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown