Home Magento eCommerce

How to change URL key for category from Global into Storeview

3 July 2009 No Comment

When you use multi-languages, You want category url for each language is difference.
Example:
For category is Electronics
you want in the English it will is www.yourmagentosite.com/electronics
However in the other language( French example) it will be www.yourmagentosite.com/frenchname.
However in magento: the url key for category is always is Global. So when you change it for a storeview, it will be changed for all storeviews.
The url_key in manager attribute only apply for products, so change it will don’t work for category.
So we need to change in the database:
Please goto the eav_attribute and you will see the url_key.
example in magento 1.3. I saw url_key for category is 33, so I run this SQL:
UPDATE eav_attribute SET is_global = ‘0′ WHERE eav_attribute.attribute_id =33
and it work fine.

Related posts:

  1. connect2MAGE | WordPress plugin for easy Magento database connection
  2. How to show Category Products on Homepage
  3. Error when upload images for Products in Magento
  4. How to change background color of product image placeholder?
  5. Changing default category sort order in Magento

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree

Security Code: