How to get store category url in Magento 1.8? -


how can store category url?

i know can store direct url this,

<a href="{{store direct_url="contacts"}}">contact us</a> 

but store's categories?

the categories have in store, such 'wines', 'food', etc, if this,

{{store direct_url="wines"}} // returns http://mystore/wine 

i 404 error page. because url should this,

http://mystore/wine.html

any idea?

try category link widget:

{{widget type="catalog/category_widget_link" anchor_text="displayed text" title="title attribute text" template="catalog/category/widget/link/link_block.phtml" id_path="category/22"}} 

reference magento how link category id static block/page


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -