Adding link to the Checkout button in magento2 The Next CEO of Stack OverflowMagento 2.2.4 = How to add new link on checkout page?Magento 2 - Checkout. Remove “New Address” button from billing/shipping address with module or themeMagento 2: How to get current shipping address country in shipping.html?Magento 2 : Implement update functionality of new customer billing address on place order button in checkout pageDisplay Remove and Edit Item button in Order summary in Onepage Checkout page Magento2How Do I Override Checkout HTML Templatesadd custom js to the certain input element on the checkout pageMagento 2 on checkout page shipping section add new address button not showingMagento 2 : From where (PHP) is the checkout billing address options drop down being populated?Any ideas on how to remove a knockout template from M2 (at the checkout)?Magento 2 knockout js dynamic button title in minicartHow to edit for existing shipping addresses in checkout page magento2?
Does Germany produce more waste than the US?
Can I board the first leg of the flight without having final country's visa?
Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank
How to avoid supervisors with prejudiced views?
Does destroying a Lich's phylactery destroy the soul within it?
How to get the last not-null value in an ordered column of a huge table?
What does "shotgun unity" refer to here in this sentence?
Easy to read palindrome checker
How to use ReplaceAll on an expression that contains a rule
From jafe to El-Guest
Calculate the Mean mean of two numbers
Help! I cannot understand this game’s notations!
Is there a reasonable and studied concept of reduction between regular languages?
Where do students learn to solve polynomial equations these days?
Why the last AS PATH item always is `I` or `?`?
How to properly draw diagonal line while using multicolumn inside tabular environment?
Can Sneak Attack be used when hitting with an improvised weapon?
What was Carter Burkes job for "the company" in "Aliens"?
Can someone explain this formula for calculating Manhattan distance?
Can you teleport closer to a creature you are Frightened of?
AB diagonalizable then BA also diagonalizable
What day is it again?
Sulfuric acid symmetry point group
How did Beeri the Hittite come up with naming his daughter Yehudit?
Adding link to the Checkout button in magento2
The Next CEO of Stack OverflowMagento 2.2.4 = How to add new link on checkout page?Magento 2 - Checkout. Remove “New Address” button from billing/shipping address with module or themeMagento 2: How to get current shipping address country in shipping.html?Magento 2 : Implement update functionality of new customer billing address on place order button in checkout pageDisplay Remove and Edit Item button in Order summary in Onepage Checkout page Magento2How Do I Override Checkout HTML Templatesadd custom js to the certain input element on the checkout pageMagento 2 on checkout page shipping section add new address button not showingMagento 2 : From where (PHP) is the checkout billing address options drop down being populated?Any ideas on how to remove a knockout template from M2 (at the checkout)?Magento 2 knockout js dynamic button title in minicartHow to edit for existing shipping addresses in checkout page magento2?
I need to add external link to the "New Address" button in checkout.
Found the button html is loading from this file.
vendormagentomodule-checkoutviewfrontendwebtemplateshipping.html
How can I add external link to the button instead of showing the pop up once it is clicked.
I need to add anchor (<a>) tag for it.
Can this be done?
magento2 checkout knockoutjs shipping-address
|
show 1 more comment
I need to add external link to the "New Address" button in checkout.
Found the button html is loading from this file.
vendormagentomodule-checkoutviewfrontendwebtemplateshipping.html
How can I add external link to the button instead of showing the pop up once it is clicked.
I need to add anchor (<a>) tag for it.
Can this be done?
magento2 checkout knockoutjs shipping-address
yes, you can add link using <a href="#">Test link</a>
– Mohammad Faizan
2 days ago
@MohammadFaizan, please update me the Answer, how it can be done?
– jafar pinjar
2 days ago
@RakeshDonga, some external link with params, params are from magento so href value is formed in php file
– jafar pinjar
2 days ago
@jafarpinjar i have updated my answer
– Rakesh Donga
2 days ago
@RakeshDonga, yes everything is fine, but it will redirect to which link? where i need to pass href value?
– jafar pinjar
2 days ago
|
show 1 more comment
I need to add external link to the "New Address" button in checkout.
Found the button html is loading from this file.
vendormagentomodule-checkoutviewfrontendwebtemplateshipping.html
How can I add external link to the button instead of showing the pop up once it is clicked.
I need to add anchor (<a>) tag for it.
Can this be done?
magento2 checkout knockoutjs shipping-address
I need to add external link to the "New Address" button in checkout.
Found the button html is loading from this file.
vendormagentomodule-checkoutviewfrontendwebtemplateshipping.html
How can I add external link to the button instead of showing the pop up once it is clicked.
I need to add anchor (<a>) tag for it.
Can this be done?
magento2 checkout knockoutjs shipping-address
magento2 checkout knockoutjs shipping-address
edited 2 days ago
ABHISHEK TRIPATHI
2,0081727
2,0081727
asked 2 days ago
jafar pinjarjafar pinjar
745414
745414
yes, you can add link using <a href="#">Test link</a>
– Mohammad Faizan
2 days ago
@MohammadFaizan, please update me the Answer, how it can be done?
– jafar pinjar
2 days ago
@RakeshDonga, some external link with params, params are from magento so href value is formed in php file
– jafar pinjar
2 days ago
@jafarpinjar i have updated my answer
– Rakesh Donga
2 days ago
@RakeshDonga, yes everything is fine, but it will redirect to which link? where i need to pass href value?
– jafar pinjar
2 days ago
|
show 1 more comment
yes, you can add link using <a href="#">Test link</a>
– Mohammad Faizan
2 days ago
@MohammadFaizan, please update me the Answer, how it can be done?
– jafar pinjar
2 days ago
@RakeshDonga, some external link with params, params are from magento so href value is formed in php file
– jafar pinjar
2 days ago
@jafarpinjar i have updated my answer
– Rakesh Donga
2 days ago
@RakeshDonga, yes everything is fine, but it will redirect to which link? where i need to pass href value?
– jafar pinjar
2 days ago
yes, you can add link using <a href="#">Test link</a>
– Mohammad Faizan
2 days ago
yes, you can add link using <a href="#">Test link</a>
– Mohammad Faizan
2 days ago
@MohammadFaizan, please update me the Answer, how it can be done?
– jafar pinjar
2 days ago
@MohammadFaizan, please update me the Answer, how it can be done?
– jafar pinjar
2 days ago
@RakeshDonga, some external link with params, params are from magento so href value is formed in php file
– jafar pinjar
2 days ago
@RakeshDonga, some external link with params, params are from magento so href value is formed in php file
– jafar pinjar
2 days ago
@jafarpinjar i have updated my answer
– Rakesh Donga
2 days ago
@jafarpinjar i have updated my answer
– Rakesh Donga
2 days ago
@RakeshDonga, yes everything is fine, but it will redirect to which link? where i need to pass href value?
– jafar pinjar
2 days ago
@RakeshDonga, yes everything is fine, but it will redirect to which link? where i need to pass href value?
– jafar pinjar
2 days ago
|
show 1 more comment
1 Answer
1
active
oldest
votes
try this way...
<a data-bind="attr: href: Link, title: Title , text: Title">test</a>
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
add a comment |
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%2f267933%2fadding-link-to-the-checkout-button-in-magento2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
try this way...
<a data-bind="attr: href: Link, title: Title , text: Title">test</a>
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
add a comment |
try this way...
<a data-bind="attr: href: Link, title: Title , text: Title">test</a>
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
add a comment |
try this way...
<a data-bind="attr: href: Link, title: Title , text: Title">test</a>
try this way...
<a data-bind="attr: href: Link, title: Title , text: Title">test</a>
edited 2 days ago
answered 2 days ago
Rakesh DongaRakesh Donga
2,258316
2,258316
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
add a comment |
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
hi @Rakesh, already some click action written in default magento, wil it be avoided? above code will redirect to cart page?
– jafar pinjar
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes i know that but you can use here your link
– Rakesh Donga
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
yes, @Rakesh, can you please provide me some clear code, i am not worked on ko before, i need to add form href value with some php variables
– jafar pinjar
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
you want to anchor tag in which link use?
– Rakesh Donga
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
I am not understood.. cleared with my question?
– jafar pinjar
2 days ago
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%2f267933%2fadding-link-to-the-checkout-button-in-magento2%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

yes, you can add link using <a href="#">Test link</a>
– Mohammad Faizan
2 days ago
@MohammadFaizan, please update me the Answer, how it can be done?
– jafar pinjar
2 days ago
@RakeshDonga, some external link with params, params are from magento so href value is formed in php file
– jafar pinjar
2 days ago
@jafarpinjar i have updated my answer
– Rakesh Donga
2 days ago
@RakeshDonga, yes everything is fine, but it will redirect to which link? where i need to pass href value?
– jafar pinjar
2 days ago