Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing New Products

Removing New Products

Locked

Views: 2,431

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
26 Jun 2006, 3:10 AM
#1
mobsta avatar

mobsta

New Zenner

Join Date:
May 2006
Posts:
60
Plugin Contributions:
0

Removing New Products

How can I remove the new products that appear on the main page?

26 Jun 2006, 3:28 AM
#2
glasshoppah avatar

glasshoppah

New Zenner

Join Date:
Apr 2006
Location:
Kaneohe, Hawaii USA
Posts:
15
Plugin Contributions:
0

Re: Removing New Products

Admin control panel -> configuration -> maximum values -> New Product Listing - Limited to ... voila. Change it to your desired setting.

26 Jun 2006, 3:29 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing New Products

While that does work ...

The better way is to turn off the Center Boxes for the New Products in the Index Listing so that it is not even looked at ... :smile:

0 means OFF be sure to turn them all OFF in each set ...

26 Jun 2006, 4:18 AM
#4
mobsta avatar

mobsta

New Zenner

Join Date:
May 2006
Posts:
60
Plugin Contributions:
0

Re: Removing New Products

Ajeh:

While that does work ...

The better way is to turn off the Center Boxes for the New Products in the Index Listing so that it is not even looked at ... :smile:

0 means OFF be sure to turn them all OFF in each set ...

Brilliant! Worked perfectly...thanks

26 Jun 2006, 5:03 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing New Products

The main reason is the speed issue ...

Turning it OFF means ... don't bother to look ... don't run any code ... etc.

Glad this worked for you ... :smile:

29 Jun 2006, 7:25 PM
#6
dcfxking avatar

dcfxking

New Zenner

Join Date:
Jun 2006
Location:
Boston, MA
Posts:
80
Plugin Contributions:
0

Re: Removing New Products

Any way to **** the "New Products" Box off for any page. Right now its showing up when you click on shopping cart and its empty. I dont want this box showing up at all if possible.

29 Jun 2006, 9:18 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing New Products

The Center Boxes have multiple settings based on their location that are configured in the Admin ... Configuration ... Index Listing ...

0 = OFF

Any other value is the Sort Order of the Center Boxes ...

NOTE: if you are not using these Center Boxes, turn them OFF as OFF or 0 means don't even look for these things vs a value other than 0 means look for these things even if I am not using them ... as in a real waste of time ... and wasted time is wasted speed ... :unsure:

29 Jun 2006, 10:03 PM
#8
dcfxking avatar

dcfxking

New Zenner

Join Date:
Jun 2006
Location:
Boston, MA
Posts:
80
Plugin Contributions:
0

Re: Removing New Products

Ajeh:

The Center Boxes have multiple settings based on their location that are configured in the Admin ... Configuration ... Index Listing ...

0 = OFF

Any other value is the Sort Order of the Center Boxes ...

NOTE: if you are not using these Center Boxes, turn them OFF as OFF or 0 means don't even look for these things vs a value other than 0 means look for these things even if I am not using them ... as in a real waste of time ... and wasted time is wasted speed ... :unsure:

Thanks Linda - I did turn everything on that page to 0 as my index page is just HTML. This however does not prevent the New Products Box to show up on other pages i.e. The Shopping Cart page when the contents are empty.

my ZC is here wirelessretailgroup.com/secure - check it out.

Thanks!

30 Jun 2006, 3:31 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing New Products

Copy the /includes/templates/templates_default/tpl_shopping_cart_default.php to your templates directory and comment out these lines:

<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>

<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>

<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>

You can comment them out with:

<?php // require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>

<?php // require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>

<?php // require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>

So if you want them back later or you upgrade you will know what you have changed ...

30 Jun 2006, 2:37 PM
#10
dcfxking avatar

dcfxking

New Zenner

Join Date:
Jun 2006
Location:
Boston, MA
Posts:
80
Plugin Contributions:
0

Re: Removing New Products

Worked like a charm! Thank you much!

4 Jul 2006, 3:25 PM
#11
shelia avatar

shelia

New Zenner

Join Date:
Apr 2006
Posts:
79
Plugin Contributions:
0

Re: Removing New Products

Its showing up on my main page and when I comment out anything in the tpl_index_default.php file - the center of the page is blank.

???

Thanks, I found the "index listings"!

4 Jul 2006, 3:35 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing New Products

For the Index page ... there are simple settings in the Admin ... Configuration ... Index Listing ...

0 = OFF

Any other value is the sort order of the Centerbox

There are multiple settings for each Centerbox depending on where you are in the navigation of the Categories/Product Listing ...