Zen Cart Logo
Forums / All Other Contributions/Addons / Disabled Products Report

Disabled Products Report

Views: 1,252

Results 1 to 6 of 6
28 Sep 2015, 12:23 AM
#1
patclay avatar

patclay

New Zenner

Join Date:
Dec 2008
Location:
New Zealand
Posts:
88
Plugin Contributions:
1

Disabled Products Report

This is the support thread for the Disabled Products Report plugin.

It does what it says - produces a report showing all disabled products and their stock levels, so you can easily check which products are disabled by mistake (I find they don't sell very well :p)

As part of the report there is one optional modification to the admin index page so the report is linked on the statistics section.

Plugin is available for download here:
https://www.zen-cart.com/downloads.php?do=file&id=2030

28 Sep 2015, 6:38 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Disabled Products Report

:thumbsup: Nice, your first plugin is a fact :smile:

2 small details in the file admin_1.5.x\includes\extra_datafiles\disabled_stock.php

define('FILENAME_DISABLED_STOCK', 'disabled_stock.php');
should bephp
define('FILENAME_DISABLED_STOCK', 'disabled_stock');

2. ```php
define('BOX_TOOLS_DISABLED_STOCK', 'Disabled Stock');
```Is IMHO better removed from this file, and placed in a language file. Like YOUR_ADMIN\includes\languages\YOUR_LANGUAGE\extra_definitions\disabled_stock.php. This way people who use multiple languages can easily translate it to their own language.
28 Sep 2015, 11:33 PM
#3
patclay avatar

patclay

New Zenner

Join Date:
Dec 2008
Location:
New Zealand
Posts:
88
Plugin Contributions:
1

Re: Disabled Products Report

Design75:

When the .php extension is added and you have admins of different levels the permissions do not work.

Thanks for that, I don't use the permissions, so don't know a lot about them. Can you point me (and other newbies reading this) to somewhere where this kind of thing is laid out?

[*]```php
define('BOX_TOOLS_DISABLED_STOCK', 'Disabled Stock');


Given that I actually *have* a language file as you described, I am not sure why I put that one there.  Updated.

Thanks for your comments & helping me make it better.  I will make the changes & update the plugin in the next couple of days.

Cheers
28 Sep 2015, 11:47 PM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Disabled Products Report

PatClay:

Thanks for that, I don't use the permissions, so don't know a lot about them. Can you point me (and other newbies reading this) to somewhere where this kind of thing is laid out?

Given that I actually have a language file as you described, I am not sure why I put that one there. Updated.

Thanks for your comments & helping me make it better. I will make the changes & update the plugin in the next couple of days.

Cheers

I am not sure if it is documented somewhere, but I do know some other users, including myself found out by trial and error that the extension needed to be removed

13 Dec 2015, 8:17 PM
#5
cj_dekrijger avatar

cj_dekrijger

New Zenner

Join Date:
Jul 2015
Location:
Hoofddorp
Posts:
76
Plugin Contributions:
0

Re: Disabled Products Report

Hai, PatClay

"I will make the changes & update the plugin in the next couple of days." Did you make the changes and where
are they downloadable

regards,

Cees

6 Nov 2016, 12:00 AM
#6
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Disabled Products Report

Hi - could this app be extended to have a function to delete disabled items in bulk, i.e. all 'selected' items in the report, typically old items that have accumulated over time not likely ever to be enabled?

cheers,
Mike