Overwrite input.html in Magento UI in my moduleHow to extend js class/method of checkout model class in magento 2How Are the Things Magento 2 calls “mixins” Implemented?Magento 2 - Checkout aria-invalid=“false”Overwrite one file from module in theme?Overwriting UI elements in Module with requirejs-config.jsError: Mismatched anonymous define() module error when integrating intl-tel-input with mageto2Magento 2.2.5: Custom Checkout Place Order ErrorShipping estimation block missing if there are many products on the cartHow to override actions.html and jshow to change magento 2 date.js form file
My bank got bought out, am I now going to have to start filing tax returns in a different state?
Why doesn't the standard consider a template constructor as a copy constructor?
Why do real positive eigenvalues result in an unstable system? What about eigenvalues between 0 and 1? or 1?
Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
English or Hindi translation of Vyasa Smriti
Could moose/elk survive in the Amazon forest?
Apply a different color ramp to subset of categorized symbols in QGIS?
Is Electric Central Heating worth it if using Solar Panels?
Is there any pythonic way to find average of specific tuple elements in array?
Check if a string is entirely made of the same substring
What *exactly* is electrical current, voltage, and resistance?
Combinatorics problem, right solution?
Bayes factor vs P value
Is there metaphorical meaning of "aus der Haft entlassen"?
How important is it that $TERM is correct?
Help with my training data
Why must Chinese maps be obfuscated?
Conditionally enable edit in lightning:datatable
Has a Nobel Peace laureate ever been accused of war crimes?
What is the best way to deal with NPC-NPC combat?
Double-nominative constructions and “von”
Unknown code in script
A faster way to compute the largest prime factor
Overwrite input.html in Magento UI in my module
How to extend js class/method of checkout model class in magento 2How Are the Things Magento 2 calls “mixins” Implemented?Magento 2 - Checkout aria-invalid=“false”Overwrite one file from module in theme?Overwriting UI elements in Module with requirejs-config.jsError: Mismatched anonymous define() module error when integrating intl-tel-input with mageto2Magento 2.2.5: Custom Checkout Place Order ErrorShipping estimation block missing if there are many products on the cartHow to override actions.html and jshow to change magento 2 date.js form file
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.
Somehow it isn't working whatever I try.
I currently got this in my requirejs-config.js.
var config =
config:
mixins:
'Magento_Checkout/js/view/shipping':
'BB_Checkout/js/mixin/shipping-mixin': true
,
'map':
'*':
'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'
;
I also already tried clearing my M2 cache en browser cache.
Thanks in advance.
magento2 checkout magento2.2.3
add a comment |
I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.
Somehow it isn't working whatever I try.
I currently got this in my requirejs-config.js.
var config =
config:
mixins:
'Magento_Checkout/js/view/shipping':
'BB_Checkout/js/mixin/shipping-mixin': true
,
'map':
'*':
'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'
;
I also already tried clearing my M2 cache en browser cache.
Thanks in advance.
magento2 checkout magento2.2.3
add a comment |
I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.
Somehow it isn't working whatever I try.
I currently got this in my requirejs-config.js.
var config =
config:
mixins:
'Magento_Checkout/js/view/shipping':
'BB_Checkout/js/mixin/shipping-mixin': true
,
'map':
'*':
'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'
;
I also already tried clearing my M2 cache en browser cache.
Thanks in advance.
magento2 checkout magento2.2.3
I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.
Somehow it isn't working whatever I try.
I currently got this in my requirejs-config.js.
var config =
config:
mixins:
'Magento_Checkout/js/view/shipping':
'BB_Checkout/js/mixin/shipping-mixin': true
,
'map':
'*':
'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'
;
I also already tried clearing my M2 cache en browser cache.
Thanks in advance.
magento2 checkout magento2.2.3
magento2 checkout magento2.2.3
edited Apr 25 '18 at 9:54
Chirag Rajput
1,290321
1,290321
asked Apr 25 '18 at 9:47
SanneSanne
844316
844316
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js
So after adding ui/template it works.
add a comment |
I don't understand. It doesn't work for me.
I tried this:
var config =
map:
"*":
'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'
;
please, Can you help me?
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
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%2f223621%2foverwrite-input-html-in-magento-ui-in-my-module%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js
So after adding ui/template it works.
add a comment |
Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js
So after adding ui/template it works.
add a comment |
Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js
So after adding ui/template it works.
Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js
So after adding ui/template it works.
answered Apr 25 '18 at 9:57
SanneSanne
844316
844316
add a comment |
add a comment |
I don't understand. It doesn't work for me.
I tried this:
var config =
map:
"*":
'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'
;
please, Can you help me?
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I don't understand. It doesn't work for me.
I tried this:
var config =
map:
"*":
'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'
;
please, Can you help me?
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I don't understand. It doesn't work for me.
I tried this:
var config =
map:
"*":
'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'
;
please, Can you help me?
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I don't understand. It doesn't work for me.
I tried this:
var config =
map:
"*":
'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'
;
please, Can you help me?
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 4 mins ago
Best Worlds WebBest Worlds Web
1
1
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
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%2f223621%2foverwrite-input-html-in-magento-ui-in-my-module%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