aespinal Posted December 9, 2016 Share Posted December 9, 2016 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. Quote Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 @@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>' . Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 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) ), Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 I have 2.3I added the second note you indicated.Do I have to add also the first one?Where do I see the link for Inventory? Quote Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 No need to add the first one... you will found it into admin ->catalog Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 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. Quote Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 (edited) @@aespinal 1. The link shows like the image attached. admin/includes/languages/english.php add: define('BOX_CATALOG_QUICK_INVENTORY', 'Quick-Inventory'); Edited December 9, 2016 by Omar_one Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 @@aespinal Are you using this addon http://addons.oscommerce.com/info/8672 ? Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 Yes, I am using that contribution.The links is ok now, but still no found file. Quote Link to comment Share on other sites More sharing options...
ecommunlimited Posted December 9, 2016 Share Posted December 9, 2016 @@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 Quote Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 1. I created the new file for the admin/includes/language/english folder1. Previously I put the contribution into admin folderContinue with the no found error. Quote Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 1. I created the new file for the admin/includes/language/english folder 1. Previously I put the contribution into admin folder Continue with the no found error. Please note, in the store link points to http://alltirescenter.com/admin/FILENAME_QUICK_INVENTORY Quote Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 @@ecommunlimited @@aespinal The file(quick_inventory.php) in the addon folder in admin/includes/language/ You need to put it on your language (admin/includes/language/your language/ Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 @@aespinal can you post the catalog.php code here ? Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 @@aespinal What about this line did you add it in the admin/includes/filenames.php file? define('FILENAME_QUICK_INVENTORY', 'quick_inventory.php'); Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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) ) ) ); ?> Quote Link to comment Share on other sites More sharing options...
aespinal Posted December 9, 2016 Author Share Posted December 9, 2016 Thanks, Omar.With the line in filenames, it works fine now.Thanks also to William.You are great helpers. Quote Link to comment Share on other sites More sharing options...
Omar_one Posted December 9, 2016 Share Posted December 9, 2016 (edited) @@aespinal your welcome.. I thought that you have been reading the instructions in readme file Edited December 9, 2016 by Omar_one Quote Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
♥14steve14 Posted December 10, 2016 Share Posted December 10, 2016 @@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. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.