osHelpers - Help for your osCommerce store
 
Google Base Feed Germany
iFrame Defender v1.2
oscommerce Seo
  Seo Pack 2
  SE Friendly URLs
  Session ID Removal
  Title and Meta Tags
  Google Sitemap
Magnum Shopping Cart
  Magnum MVS 8.4 Basic
osCommerce Services
  osc / cre patch
  Data Entry
  Data Extraction
  bugs and fixing
  Site Transfer
  creloaded Transfer
  Design Special
  Hosting
osCommerce Templates
osCommerce Contributions
  Credit Modules
  Features
  Images
  InfoBoxes
  Languages
  Order Total Modules
  Other
  Payment Modules
  Reports
  Shipping Modules
  Templates/Themes
  Zones
osCommerce Articles
osCommerce Tutorials
  Installing osCommerce
  Configuring your store
  Adding categories
  Adding products
  Adding product attributes
  Configuring currency
  Adding payment modules
  Adding shipping modules
  Configuring sales tax
  Editing your home page
  Editing columns
  Editing header and footer
  Creating specials
  Managing customers
  Sending out a newsletter
  Sending out email
  Managing your banners
  Backup database
CRELoaded Tutorials
  Add Administrators
  Add Article Author
  Additional Images
  Create a New Page
  Define Mainpage
  Disable cc Encryption
  Disable Company Field
  Disable Country
  Disable Date of Birth
  Display broken images
  Easypopulate Export
  Email confirmation
  Insert Faq
  Max Package Weight
  Require Terms of Use
  Affiliate Newsletter
  Enable Cache
CB Power Affiliate
Tell A Friend
 

Tell someone you know about this product.

   OSHELPERS | OSCOMMERCE CONTRIBUTIONS | OTHER | 2026   


oscommerce EasypopulateDataChecker
[2026]
 
 
box_bg_l.gif.
"check_ep_data - v 1.0 - 18/04/2004

This is a simple command line PHP script that will scan through an easypopulate csv datafile and check for common errors. Most of the types of errors it looks for are the kind of typical cut and paste problems created when using a spreadsheet (duplicate product numbers, blank product numbers, duplicate product names, 'EOREOR' present, etc etc).

If you want, it will also print a category tree for all the products. This is to provide a visual guide to make sure you've not made a spelling mistake and inadvertently put a product on its own in some bogus category somewhere. The tree isn't as tidy as it could be, but it's good enough.

To use it :-

1) unzip it

2) You may want to change the shebang at the top of the file to point to your PHP executable

3) There are also a few constants and control parameters defined at the top of the file that you may want to alter to match your system. The various checks can be switched on and off as required.

If you just run the script with no parameters it will print some help info

The idea is that you run the script after you have edited your easypopulate data in your spreadsheet, but before you upload it to your site; a sanity check before you try and add your data back into the database

It's nothing mind shattering and the code is pretty ropey, but it is "correct" (I hope !) and might save someone some grief and time.

Any suggestion etc warmly welcomed.

Rich osc1@rbentley.com
Á"

 


For more information, visit the official osCommerce contribution webpage.
box_bg_r.gif.
 

osHelpers

osHelpers