cancel
Showing results for 
Search instead for 
Did you mean: 

checkout url in authentication popup

SOLVED

checkout url in authentication popup

Hi,

 

I wanted to add checkout URL in my authentication popup.

Is there any way to do this?

 

popup.png

2 REPLIES

Re: checkout url in authentication popup

Hi @Maddy123456789,

 

Can you try with?

 

<?php echo $block->getUrl('checkout'); ?>

You can try that code into your phtml file.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: checkout url in authentication popup

this popup is coming from HTML file so cannot write the php code in this,

 

Though i found the solution is to make a function in AuthenticationPopup.php in magento_customer module block file and than create a variable and use that in js file