Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Product Limits


Recommended Posts

I would like to know how to set a limit to the amount of products that can be added to a oscommerce site. For example limit the site to 500 or 1000 products. Can someone please help by letting me know what file needs to be changed, what code needs to be added and where in the file the code should be added. I have been tyring to figure this out for some time now. Thank you

Link to comment
Share on other sites

You need to editt the admin/categories.php file. Find the code for insert and update products and prevent that from happening if the limit has been reached. Ideally, to make it more user friendly, the check should be made when first entering the products edit page so the user knows upfront that they can't enter a product.



Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...