Magento: How to check if current page is homepage?

Here is a quick Magento code to check if the current page is homepage or not.

If you are in template/page/html/header.phtml template file, then you can check for homepage with the following code:

Read More

the order confirmation email is not sent – Magento

how to enable the “order confirmation email” and able to be sent to the customer email?
The email was sent before, but somehow the order is not sent by email anymore. The “Order” and “Order Comments” setting in the System->Configuration->Sale Emails are Enabled.
Where can this go wroing?

Just make a small change in order.php
First, create one directory structure on the path below, then copy and paste the file to the path below.
Now, change from

or See Video

Read More
Magento, PHP

Clickable star ratings in Magento

So you are setting up Magento and you think a clickable 5 stars rating in your product page would be cool? It’s pretty easy!

First you want to enable the ratings in the Admin panel in Magento. So go to Catalog > Reviews and ratings  > Manage ratings and choose and/or add those that you want to appear in your product page. Just click on each one and select in which shop you want to it to be displayed.

Yay! Done! Now if you are using the rwd-theme and go to your product page, you see that we just added a review… table.

I don’t know about you, but I don’t like it that much. I just want 5 pretty stars that I can click. If you are using the rwd-theme as a base, we just have to slightly modify a template file and add some css. Let’s say, your theme is called “mytheme”...

Read More

Magento 1.9.2 Unknown cipher in list: TLSv1

Just tried to load an extension through magento connect and had the error “Unknown cipher in list: TLSv1”, the extension was Subcategories Grid/List by apptrian.

I use “CENTOS PHP 5.4.43 cURL 7.19.7”

In downloader/lib/Mage/HTTP/Client/Curl.php, try changing:

$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');




Read More