AlegroCart open source E-commerce
Web hosting by Host1Plus

Category Deletion

Enter AlegroCart Bugs Here, but if you're not certain, post in General support first.

Re: Category Deletion

Postby leo » Thu Feb 14, 2013 12:48 pm

Try Brent's fix:
Code: Select all
   function delete_subcats($path){
      $sql = "delete category, category_description from category left join category_description on category.category_id = category_description.category_id where category.path like '?'";
      $this->database->query($this->database->parse($sql, $path . '\_%'));
   }

in /admin/model/products/model_admin_category.php
User avatar
leo
admin
 
Posts: 4144
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Category Deletion

Postby Bluesplayer » Thu Feb 14, 2013 12:55 pm

Working :D .

I hope you are updating the script with all these changes?

I am your unqualified bug hunter and script tester / alterer 8-) .

Well done.

Thanks
apet4life.co.uk
Bluesplayer
 
Posts: 152
Joined: Sun Jan 06, 2013 3:03 pm

Re: Category Deletion

Postby leo » Thu Feb 14, 2013 1:13 pm

Thanks for the bug report.
We add a patch file to the download of the stable version. So, everybody can get rid of this issues.
User avatar
leo
admin
 
Posts: 4144
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Previous

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 5 guests

cron