Next Webinar: Maximizing Magento - Get the Most out of Promotions. Register Today!

Magento

Open Source eCommerce Evolved

Magento Forum

   
How to add a default route for products
 
danpowered
Jr. Member
 
Total Posts:  9
Joined:  2008-05-01
 

Id like to know how i could add a default route for all products, such ass

http://domain.com/products/sku

(the sku part is obviously replaced by a sku here).

If the product exists it goes straight to the product details page, if not, it goes to an error page.

I read about the zend framework routing, i found the classes and everything, but i have not figured out how to add this route yet.  Maybe someone already did that.

I need it to be automatic for all products, so using the “url rewriting management” is pretty much out of the question, unless i didnt see some option.. I have far too many products to do them all one by one.

Thanks a lot!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
39896 users|710 users currently online|85884 forum posts