Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.546.944 Times

Fix for admin catalog - delete products issue 1.0

  Date Added: May 10, 2013  |  Visits: 714

Fix for admin catalog - delete products issue

Report Broken Link
Printer Friendly Version


Product Homepage
Download (28 downloads)



All categories and products are deleted after deleting a category or product.Cause: This problem was found when the browser's BACK button is used to return to the product list after deleting a product or category. After backing up pages, "categories_id" is set to 0 which is the catalog's root location.Fix: I wrote a simple check to make sure you can never delete the entire catalog in one action. ($categories_id can never equal 0)** FILE: catalog/admin/categories.php** FIND code beginning with...case 'delete_category_confirm':if (isset($HTTP_POST_VARS['categories_id'])) {$categories_id = tep_db_prepare_input($HTTP_POST_VARS['categories_id']);** ADD immediately AFTER with this code...// BEGIN Prevent categories_id = 0if($categories_id == 0) {tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $categories_id));break;}// END Prevent categories_id = 0** SAVE the file and you are finished!

Requirements: No special requirements
Platforms: Windows, *nix, Linux, PHP , BSD
Keyword: Admin Admin Catalog Catalog Delete Delete Products Oscommerce Addons
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


FIX FOR ADMIN CATALOG - DELETE PRODUCTS ISSUE RELATED
Modules  -  Admin Manipulation 4.1
This contrib allows you to:delete all products or delete all orders or delete all customers and perform other db manipulation operations ALLfrom your stores admin area.these files are modified:-optimize_table.php-empty_db.phpnot to store your...
 
Modules  -  Featured Products 4.3.4
Includes admin page to add/delete featured products. It shows only featured products for the current category, or products from *all* categories when on the main default.php page. See lengthy README file inside archive file for more details, and...
 
Modules  -  Products Listing 1.3
I wanted to be able to print a list of all products in my catalog along with prices in order to cross reference them with newly released price lists, to see which products prices needed updating.I have kept it simple. Located the option under...
 
Modules  -  Keep Products Displayed When Out of Stock 1.0
Here is how to make items stay displayed in your product listings, even if they are out of stock. Some people reported not being able to do this, while others had just the opposite problem. For my own site, there was no other way except to delete...
 
Modules  -  Products Sold 1.2
This module allows you to choose in the admin menu if a product is sold or not.It's particularly useful for real estate web site.If you selected 'sold' for a product in the admin, then it display an icon 'sold' in front of the product in the...
 
Modules  -  Quick Add Products 1.3
You can like Quick Price Updates configure it through the admin.
 
Modules  -  Hide Add To Cart 1.01
By removing these buttons for these products they become an online advertisement.This contribution works by setting a flag in the manufacturers table. When flagged accordingly, any product supplied by this manufacturer will not display the "Buy...
 
Web Authoring  -  smc WebStore Free 2.3
Create an online catalog and sell your products online with a FREE ecommerce solution. Designed to be easy to use for the small business owner with little or no HTML experience, yet full-featured to provide an easy shoppers experience. Features...
4.05 MB  
Modules  -  Family Products 3.4
Family Products  is here. This has a lot more functionality, more features, and lots to look forward to.The sql file and include/module/family_products.php so you should not get any sql error or a 1064 errors. I have include html install file....
 
Modules  -  Show Subcategories when Category has Products 1.1
When a category has both products and subcategories, this mod will display the subcategory links at the top of the product listing
 
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB