Post by osglass » Mon Apr 07, 2008 8:05 pm

Deleting product or images in the admin side doesnt prompt you it just delete the damn thing without confirming first. i think i need to add functionality..



The source code is not hard to extend..


Any Idea guys? A quick solution is well appreciated.


-------------------------------------
Opencart is a great OS shopping cart. The code is clean and organized. Later, I will also contribute to add more payment options.
Last edited by osglass on Tue Apr 08, 2008 8:20 pm, edited 1 time in total.

New member

Posts

Joined
Mon Apr 07, 2008 7:52 pm

Post by bruce » Thu Apr 10, 2008 9:48 am

Yes, one of my customers has discovered the hard way that orders can be deleted by mistake in the same way. If I get to this before you do, I will post my code.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by osglass » Thu Apr 10, 2008 3:14 pm

im working on it already bruce.. i will post my progress here...

Do you know when will be the next release of opencart?



Thanks dude!!!

New member

Posts

Joined
Mon Apr 07, 2008 7:52 pm

Post by bruce » Thu Apr 10, 2008 3:20 pm

No idea. I am the same as you except with more posts.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by hm2k » Thu May 15, 2008 6:08 pm

What we need to add is something like this:

Code: Select all

<a href="/admin/index.php?controller=information&action=delete&information_id=1" onClick='if(confirm("Are you sure you want to delete?")) return; else return false;'><img src="template/default/image/delete.png" alt="Delete" title="Delete" class="png" /></a>

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by hm2k » Sun May 25, 2008 7:56 pm


UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 3 guests