Results 1 to 6 of 6

Hybrid View

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

    Default 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 )

    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

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Disabled Products Report

    Nice, your first plugin is a fact

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


    1. PHP Code:
      define('FILENAME_DISABLED_STOCK''disabled_stock.php'); 
      should be
      PHP Code:
      define('FILENAME_DISABLED_STOCK''disabled_stock'); 
      This has to do with admin permission. When the .php extension is added and you have admins of different levels the permissions do not work.
    2. PHP Code:
      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.

  3. #3
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: Disabled Products Report

    Quote Originally Posted by Design75 View Post
    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 Code:
    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.
    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

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Disabled Products Report

    Quote Originally Posted by PatClay View Post
    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

  5. #5
    Join Date
    Jul 2015
    Location
    Hoofddorp
    Posts
    76
    Plugin Contributions
    0

    Default 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. #6
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default 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

 

 

Similar Threads

  1. Stop Disabled Products From Showing in New Products for Category?
    By way10c in forum Customization from the Admin
    Replies: 10
    Last Post: 14 Mar 2011, 03:52 AM
  2. Disabled Products show up in New Products for (insert month)
    By LadyMorgana in forum Setting Up Specials and SaleMaker
    Replies: 33
    Last Post: 16 Feb 2010, 12:54 AM
  3. Disabled products show as new products after editing
    By krazykev in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Feb 2009, 05:52 PM
  4. New Products For (month) showing disabled products
    By sublime19 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Nov 2008, 06:55 AM
  5. Products from disabled categories show up in New Products on home page.
    By peppyone in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 23 Jun 2008, 07:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg