Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick Inventory


aespinal

Recommended Posts

I downloaded the contribution Quick Inventory by yansfung that consists in one file going to admin folder.

It works when I access it directly via url, but there is not link I could use inside the store admin.

Any help will be appreciated.
Thanks in advance.

Link to comment
Share on other sites

@@aespinal did you add this In admin\includes\boxes\catalog.php ??

 

'<a href="' . tep_href_link(FILENAME_QUICK_INVENTORY, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_QUICK_INVENTORY . '</a><br>' .

Get the latest Responsive osCommerce CE (community edition) here .

Link to comment
Share on other sites

If have oscommerce 2.3 add this one :

array(

'code' => FILENAME_QUICK_INVENTORY,

'title' => BOX_CATALOG_QUICK_INVENTORY,

'link' => tep_href_link(FILENAME_QUICK_INVENTORY)

),

Get the latest Responsive osCommerce CE (community edition) here .

Link to comment
Share on other sites

Two issues:
1. The link shows like the image attached.
2. When I click the link receives the message:
 

Not Found
The requested URL /admin/FILENAME_QUICK_INVENTORY was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 
But the file quick_inventory.php is in the admin folder.

 

 

post-24540-0-52126500-1481315756_thumb.png

Link to comment
Share on other sites

@@aespinal

 

1. The link shows like the image attached.

 admin/includes/languages/english.php add:
 
 

  define('BOX_CATALOG_QUICK_INVENTORY', 'Quick-Inventory');
Edited by Omar_one

Get the latest Responsive osCommerce CE (community edition) here .

Link to comment
Share on other sites

@@aespinal  @@Omar_one

 

You also need this file: public_html/my_admin_name/includes/languages/english/quick_inventory.php

 

This goes in it:

<?php/*quick_inventory.phpMODIFIED from quick_inventory.php v1.0 by pyramids  Released under the GPL licence.*/define('QUICK_OR',             '( Or )' ) ;define('QUICK_HEAD1',          'Quick-Inventory');define('QUICK_HEAD2',          'Enter model # or partial model #');define('QUICK_MODEL',          'Model');define('QUICK_ID',             'ID');define('QUICK_NAME',           'Name');define('QUICK_PRICE',          'Price');define('QUICK_COST',           'Cost');define('QUICK_WEIGHT',         'Weight');define('QUICK_STOCK',          'In Stock');define('QUICK_STATUS',         'Status');define('QUICK_QTY',            'Quantity');define('QUICK_ACTIVE',         'Active');define('QUICK_INACTIVE',       'Not Active');define('HEADING_TITLE_SEARCH', 'Enter Model #: ');define('QUICK_MODEL',          'Choose Model Number');define('QUICK_SHOW',           'Show Images:');define('QUICK_BRAND',          'Brand');define('SEARCHBYMODEL',        'Search by Model') ;define('SHOWIMAGES',           'Images') ;define('SHOWPRICELESS',        'Show Products with this price or less:' ) ;define('SELECTMODEL',          'Select Model' ) ;define('SEARCHCATEGORY',       'Search By Category' ) ;define('SELECTCATEGORY',       'Select a Category:' ) ;define('SEARCHBRAND',          'Search By Brand' ) ;define('SELECTBRAND',          'Select Brand:' ) ;?>

Also, you have to make sure the spelling is correct for both quick_inventory.php file names or your system won't recognize it.

 

Take care

Bill

Link to comment
Share on other sites

<?php

/*

  $Id$

 

  osCommerce, Open Source E-Commerce Solutions


 

  Copyright © 2010 osCommerce

 

  Released under the GNU General Public License

*/

 

  $cl_box_groups[] = array(

    'heading' => BOX_HEADING_CATALOG,

    'apps' => array(

      array(

        'code' => FILENAME_CATEGORIES,

        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS,

        'link' => tep_href_link(FILENAME_CATEGORIES)

      ),

      array(

        'code' => FILENAME_PRODUCTS_ATTRIBUTES,

        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,

        'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)

      ),

      array(

        'code' => FILENAME_MANUFACTURERS,

        'title' => BOX_CATALOG_MANUFACTURERS,

        'link' => tep_href_link(FILENAME_MANUFACTURERS)

      ),

      array(

        'code' => FILENAME_REVIEWS,

        'title' => BOX_CATALOG_REVIEWS,

        'link' => tep_href_link(FILENAME_REVIEWS)

      ),

      array(

        'code' => FILENAME_SPECIALS,

        'title' => BOX_CATALOG_SPECIALS,

        'link' => tep_href_link(FILENAME_SPECIALS)

      ),

 array(

        'code' => FILENAME_WHOLESALE,

        'title' => BOX_CATALOG_WHOLESALE,

        'link' => tep_href_link(FILENAME_WHOLESALE)

      ),

      array(

      'code' => FILENAME_QUICK_INVENTORY,

      'title' => BOX_CATALOG_QUICK_INVENTORY,

      'link' => tep_href_link(FILENAME_QUICK_INVENTORY)

      ),

      array(

        'code' => FILENAME_PRODUCTS_EXPECTED,

        'title' => BOX_CATALOG_PRODUCTS_EXPECTED,

        'link' => tep_href_link(FILENAME_PRODUCTS_EXPECTED)

      )

    )

  );

?>
Link to comment
Share on other sites

@@aespinal

 

The file that you downloaded probably wasnt a full package. If it was the top one in the addons list, then it wasnt as it clearly states. Make sure in future that you download a full package then add the altered files after. It would have been better however if the addon package creator, did actually upload a full package, which would save any confusion.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...