Hi,
I wanted to add checkout URL in my authentication popup.
Is there any way to do this?
Solved! Go to Solution.
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
Hi @Maddy123456789,
Can you try with?
<?php echo $block->getUrl('checkout'); ?>
You can try that code into your phtml file.
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