Magento themes and extensions

Upgrade theme pager to Magento 1.4

Share
Posted on November 13th, 2011 | Posted by admin

Working on a 1.3 version Magento theme I got a problem. After adding products to a category when I tried to list the products in the store it just give me Magento’s error page.

When I opened the report I noticed a problem in my toolbar.phtml

Using the 1.3 version theme in a 1.4 installation you can not run the pager in the product list (1, 2, 3, 4…) correctly.

The solution is quite simple. We will put the new pager method in our 1.3 version theme:

1. Replace

Replace the toolbar.phtml located in:

app/design/frontend/default/YOUR_THEME/template/catalog/product/list

With the one in:

app/design/frontend/base/default/template/catalog/product/list

SEO URL Magento

Share
Posted on November 13th, 2011 | Posted by admin

We already saw how to remove the .html extension from Magento.

When you install Magento probably your URLs would be like:

  • http://www.domain.com/index.php/about-us

There is an option to remove that index.php from the URL.

Go to your admin panel -> System -> General -> Web -> Search Engines Optimization.

Change Use Web Server Rewrites to Yes.

Catalog Prices with Extra Tax Magento

Share
Posted on November 13th, 2011 | Posted by admin

I found a problem when trying to show the Catalog Prices including and excluding tax inMagento.

I created a product with 299€ price. That price had tax included so I setted up the admin for that:

Sales -> Tax -> Calculation Settings (tab)

Then I went to the store and I saw it was not working:

Can’t Log In Magento Admin

Share
Posted on November 13th, 2011 | Posted by admin

After installing Magento locally I could not login to my Admin panel. Using the correct password it was just refreshing the login page every time.

Look for the file:

/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php

Arroud the line 100:

call_user_func_array(‘session_set_cookie_params’, $cookieParams);

Add bars to comment the line:

//call_user_func_array(‘session_set_cookie_params’, $cookieParams);

Done!

Now you will be able to login.

How to Remove Add to Compare Magento

Share
Posted on November 13th, 2011 | Posted by admin

Do you want to remove the add to compare list in your Magento site?

There is only bad news to do that.

First of all there is no an easy-admin-button to turn it off. Yeah Magento rocks…

And of course you will have to to into some code. But don’t worry is quite simple.

0. Turn cache Off

Turn off the Magento Cache just to be sure the changes work. You can turn it on again once you’re done.

Reminder: System-> Cache Management

1. reports.xml