Post by Ant0n1s » Wed Oct 04, 2017 8:20 pm

Hello,

For some reason when I delete a product from admin menu > Products, the product still exists in database. Is there any method to delete the product from the database also? (Opencart 2.1.0.2)

Thanks.

Newbie

Posts

Joined
Fri Jul 07, 2017 5:28 am

Post by bumcarks » Fri Oct 06, 2017 2:33 am

From Opencart no other way. You need to correct the problem or go to database and delete manually . But this is complex.

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by Ant0n1s » Fri Oct 06, 2017 4:07 pm

Is there any code that I can change to fix the problem? Doing that manually from database is worth :/

Newbie

Posts

Joined
Fri Jul 07, 2017 5:28 am

Post by bumcarks » Sat Oct 07, 2017 1:22 am

Please give your script like admin/controller/catalog/product.php, admin/view/template/catalog/product.tpl and admin/model/catalog/product.php files to review your problem.

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by Ant0n1s » Mon Oct 09, 2017 4:18 pm

Attached you`ll find the files you asking for.

Thanks

Newbie

Posts

Joined
Fri Jul 07, 2017 5:28 am

Post by ampi49 » Tue Dec 12, 2017 10:48 pm

Hi Ant0n1s,
I'd like to know if you've found an easy-to-do solution (other than to interfere in OC DataBase) to delete products that were deleted via "Administrator/Catalog/Products", but which still remain in the dB, as I have the same problem. Thanks in advance for your reply.

Newbie

Posts

Joined
Tue Dec 12, 2017 10:09 pm
Who is online

Users browsing this forum: No registered users and 86 guests