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?










0















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?










share|improve this question
























  • 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















0















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?










share|improve this question
























  • 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













0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















1














try this way...



<a data-bind="attr: href: Link, title: Title , text: Title">test</a>





share|improve this answer

























  • 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











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
);



);













draft saved

draft discarded


















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









1














try this way...



<a data-bind="attr: href: Link, title: Title , text: Title">test</a>





share|improve this answer

























  • 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















1














try this way...



<a data-bind="attr: href: Link, title: Title , text: Title">test</a>





share|improve this answer

























  • 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













1












1








1







try this way...



<a data-bind="attr: href: Link, title: Title , text: Title">test</a>





share|improve this answer















try this way...



<a data-bind="attr: href: Link, title: Title , text: Title">test</a>






share|improve this answer














share|improve this answer



share|improve this answer








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

















  • 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

















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

Category menu linking direct to productHow to create an new observer on the event catalog_product_save_beforePHP else: statements in addtocart.phtml - Adding conditions to the Add To Cart button on product pageAdd template to custom adminhtml buttonAdd category title to product view pageEdit layered navigation filter titles in Magento 1.9.2Have category page main menu based on current categoryProduct collection displaying wrong categoryHow Can I Customize Magento Default URL (Product URL and Category URL)Programatically add cross sell products to all products within a certain categoryHow to create custom link for category?Creating Custom 'Buy Now' button with Custom buy now link