Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / show one cat id, stop new products

show one cat id, stop new products

Locked

Views: 646

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Aug 2010, 9:53 AM
#1
pageblair avatar

pageblair

Zen Follower

Join Date:
Feb 2010
Location:
ny
Posts:
223
Plugin Contributions:
0

show one cat id, stop new products

how do I show one cat id on main page ONLY , and stop new products from other categories listed as new. They are mingling on main page because I have new products set for 30 days.

26 Aug 2010, 10:59 PM
#2
amandagero avatar

amandagero

Zen Follower

Join Date:
Feb 2009
Posts:
188
Plugin Contributions:
0

Re: show one cat id, stop new products

you could do something like this here for the new products (not sure about just one category on main age, i will look into it)

http://extendmydesign.com/blog/?p=30

but the file you would need to edit is includes/modules/new_products.php

and instead of categories_id i think it is master_categories id

so you would have to add

and p.master_categories_id NOT IN(33)

change 33 to the category id you do not want to show

26 Aug 2010, 11:07 PM
#3
amandagero avatar

amandagero

Zen Follower

Join Date:
Feb 2009
Posts:
188
Plugin Contributions:
0

Re: show one cat id, stop new products

for just one category to be shown on the main page, you can do this in admin

configuration>layout settings>Main Page - Opens with Category