How to get current URL in Magento?

Posted by Damodar Bashyal on March 24, 2010

 

In Magento, I use below codes as required to get the Current Url and pages. I hope this will help you to find current url in your magento ecommerce website. Below is the first code that will return full Magento's current Url.

<?php
$currentUrl = $this->helper('core/url')->getCurrentUrl();
?>

More»

Magento e-Commerce Few Tips, Tricks, Codes and Options

Posted by Damodar Bashyal on September 27, 2009

 

I am an e-commerce web developer. I used to use oscommerce to develop ecommerce websites but I recently started using magento.  From time to time magento really gives a hard time but I love finding the solution. I am also planning to do certification in magento, so I can call myself Magento Certified Web Developer.

When I was working with oscommerce I never documented any tips & tricks because I really didn't need it as it was so simple and easy. But as soon as I started Magento ecommerce development, I started struggling. So, I started to note down helpful tips, shortcuts and tricks. As I was just writing and emailing myself, I thought I should start writing on the blog. Now I have a blog for magento tips and tricks.

More»

How to edit/change contact page form in magento

Posted by Damodar Bashyal on August 13, 2009

 

Wow after few searches i found the solution so, i didn't get that much headache at this time. This is how i changed my contacts page form in magento.

Step 1:

Change the contact form located at:

More»