ejectcore Posted July 9, 2008 Share Posted July 9, 2008 I have had this problem now for a few weeks.The dev team have looked into this & now after getting more information why this wasn't behaving the way it should I have managed to come up with a simple solution, possibly this should be a made a sticky Anyway the issue was all products were defaulting to the home pagethe reason for this is related to a small bug fixed below ;-) Some people may not of had this problem is they were to manually select a default category but with this fix the default category will automatically be selected for the category you are entering products for.change AdminProducts.php line 1271-1275replace id_category_default with id_category as this the variable used in the url to define which catgegory you are onhope it helps others, it's caused me no end of problems %-P And don't forget we want are rankings back :-P '.$this->l('Default category:').' <select id="id_category_default" name="id_category_default" onchange="checkDefaultCategory(this.value);">'; $categories = Category::getCategories(intval($cookie->id_lang), false); Category::recurseCategory($categories, $categories[0][1], 1, $this->getFieldValue($obj, 'id_category')); Link to comment Share on other sites More sharing options...
DrÿSs' Posted July 10, 2008 Share Posted July 10, 2008 Hi,I'm sorry but this is NOT a bug, but a behavior you decided to implement.I move this post to general forum. Link to comment Share on other sites More sharing options...
Recommended Posts