How to add Store codes in URL Magento

Share
Posted on December 27th, 2011 | Posted by admin

Today we’ll see how to add the store code in the Magento URL from the admin panel

Go to System -> Configuration -> General -> Web

Then URL Options -> Add Store Code to Urls -> Yes

magento extension

How to turn on Magento Path Hints

Share
Posted on December 27th, 2011 | Posted by admin

If you are a Magento theme developer you should know about Path Hints.

The Template Path Hints shows wich file is the frontend using for each part of the page.

Go to System -> Configuration -> Developer

You have to select a specific store view:

How to change Default Sort Order Magento

Share
Posted on December 27th, 2011 | Posted by admin

I’ll be clear… Magento is not good as you could imagine. In fact sucks in so many ways.

Today i’m showing you one. There is no backend option to change the Default Sort Order in your product listing (catalog).

Lucky there is an easy solution.
The Toolbar
Look for the file toolbar.php located in:

/app/code/core/Mage/Catalog/Block/Product/List
Create the Local folder
Create the same folder structure in the local. Now the future upgrades will not affect your changes.

Should be like:

/app/code/local/Mage/Catalog/Block/Product/List
Edit the Toolbar

How to change the Price Range Magento

Share
Posted on December 27th, 2011 | Posted by admin

If you need to change the Price Range in your Magento catalog go to:

app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php

Look for the line:

$range = pow(10, (strlen(floor($maxPrice))-$index));

Change the 10 for a lower / higher number.
Tested in the 1.4 version

Magento Country codes for table rate

Share
Posted on December 27th, 2011 | Posted by admin

I was getting mad trying to figure out how to know the Magentro Country Codes.

When you want to upload a Shipping Table Rate (csv file) you need to enter those codes in your file.

Looks like they don’t give the info in a easy way.

So I found a dirty solution but it works.

Page 1 of 41234»