Cipo Posted January 25, 2013 Share Posted January 25, 2013 Hi, I need to redirect all product page with stock 0 to another url. I try to modify product.tpl line 215 wher is located {if $product->quantity == 0} with {redirect url="http://www.domain.com/"}, but no luck.. I try to put some php header redirect, but no luck... Thanks Link to comment Share on other sites More sharing options...
El Patron Posted January 26, 2013 Share Posted January 26, 2013 you could write a small moudle with the hook... you didn't mention your ps verson, here is the doc for 1.5 hooks Link to comment Share on other sites More sharing options...
Cipo Posted January 27, 2013 Author Share Posted January 27, 2013 Hi Elpatron, I still use 1.3 ... ( Link to comment Share on other sites More sharing options...
El Patron Posted January 27, 2013 Share Posted January 27, 2013 Hi Elpatron, I still use 1.3 ... ( I don't have a 1.3 genned in test...but hooks are present in 1.3 as well may be time to lurch into the 21st century (i.e. upgrade)...jajajaja 1 Link to comment Share on other sites More sharing options...
Cipo Posted February 3, 2013 Author Share Posted February 3, 2013 I don't have a 1.3 genned in test...but hooks are present in 1.3 as well may be time to lurch into the 21st century (i.e. upgrade)...jajajaja Yes... you're right... but my theme is not compatible with 1.4 or 1.5.... Must stay on 20-th century... for the present Link to comment Share on other sites More sharing options...
Recommended Posts