PDA

View Full Version : Simple: seperate unactive products in Products Manager


vbenhancer
16 Apr 2012, 21:08
Just a simple tweak to list your products in order of "inactive/active" so you can track easily the products that are enable or not... way easier to read than the regular display that only have titles striked.

from /admincp/plugin.php

FIND ON LINE 707



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




ADD "active, " SO IT SHOWS AS:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



that's it, yeap... now, visit http:/ /yoursite.com/admincp/plugin.php?do=product to see the result!

--------------- Added 1334607427 at 1334607427 ---------------

... i was bored to scroll down today, so it took me 32 seconds to fix that!... ;)

Lynne
16 Apr 2012, 22:10
Nice!

And if you want to list them as enabled first, and then disabled, add DESC to the ORDER clause:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Boofo
16 Apr 2012, 22:32
Or you could install the Advanced Product Management mod and not have to edit any files.

vbenhancer
16 Apr 2012, 23:17
Or you could install the Advanced Product Management mod and not have to edit any files.

the point here is to just small-trick the engine, not replace it with something else... but yes, the APM could be good for some people!

Boofo
16 Apr 2012, 23:46
A lot of users here are not comfortable with editing files. That is the only reason I mentioned it.

Lynne
17 Apr 2012, 04:37
A lot of users here are not comfortable with editing files. That is the only reason I mentioned it.
And some users would rather do a quick, simple file edit rather than install a product to do the same thing.

It's always good to have options. :)

vbenhancer
17 Apr 2012, 12:46
stop fighting in my article, kids...

Lynne
17 Apr 2012, 19:14
Boofo and I don't fight. Sorry if it looked that way. I ♥ Boofo. :)