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?
Views: 2,431
New Zenner
How can I remove the new products that appear on the main page?
New Zenner
Admin control panel -> configuration -> maximum values -> New Product Listing - Limited to ... voila. Change it to your desired setting.
Oba-san
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 ...
New Zenner
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
Oba-san
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:
New Zenner
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.
Oba-san
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:
New Zenner
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!
Oba-san
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 ...
New Zenner
Worked like a charm! Thank you much!
New Zenner
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"!
Oba-san
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 ...
Tell staff why this post should be reviewed.