Jump to content

How to exclude a category from New Products page?


mytheory.
 Share

Recommended Posts

Hello,

I'm trying to exclude 1 category from the New Products page (new-products.php). We have a clearance category that we want to exclude from anything that calls the getNewProducts function.

I looked through the code specifically in classes/Product.php (getNewProducts function) trying to figure this out, but my mysql knowledge is very limited. I was hoping somebody could help me out before I majorly mess things up.

Thanks!

Share this post


Link to post
Share on other sites

Thanks rocky!

I swear I searched for a good half hour and guess I missed this post... must have not been using the right keywords. haha.

Also, I had a quick question regarding id_category_default and id_category to change the query. I posted it on the original post...

Thanks again!

Share this post


Link to post
Share on other sites

  • 11 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More