How to Add this link in href in anyware in magento - Magento Source24


How to Add this link in href in anyware in magento


How to add button there click on which should take user to add product URL : 

Hello friends today's i'm share How to #Add this link in href in anyware.



<?php
$prams = ['id' => 10, 'str2' => 'value2',];
?>
<a href="<?php echo $this->getUrl('catalog/product/edit',
        ['_current' => true, '_use_rewrite' => true, '_query' => $prams]); ?>" />



try this Bellow Code to select Customer Register and login url : 

# this is The below code should be return the links. You can use this in template file in your project.


$helper = Mage::helper("customer") :- It is Used To Select Customer Area

$signupurl = $helper->getRegisterUrl():-  it is used to select customer signup url

$loginurl = $helper->getLoginUrl() :-  it is used to select customer login url



<?php
$helper = Mage::helper("customer");
$signupurl = $helper->getRegisterUrl(); // Signup url
$loginurl = $helper->getLoginUrl(); // login url







Deepak Kumar Bind

Success is peace of mind, which is a direct result of self-satisfaction in knowing you made the effort to become the best of which you are capable.

Post a Comment

If you liked this post please do not forget to leave a comment. Thanks

Previous Post Next Post