Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Prevent New Products Display


zenatech

Recommended Posts

Posted
Is there a central setting or code location to prevent New Products from displaying on any page?

 

You can change the product status to false, that will stop it displaying, its called instock/outofstock on the edit product page.

 

To make the default 'out of stock' for new products make the following change in admin/categories.php

 

Near 460 find:

 

 

case '0': $in_status = false; $out_status = true; break;

case '1':

default: $in_status = true; $out_status = false;

 

replace with:

 

case '0': $in_status = false; $out_status = true; break;

case '1':$in_status = true; $out_status = false; break;

default: $in_status = false; $out_status = true;

 

Hope that helps,

 

Sam

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Archived

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

×
×
  • Create New...