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