Forums / Customization from the Admin / Cannot remove new products from home page

Cannot remove new products from home page

Views: 2,399

Results 1 to 6 of 6
18 May 2013, 3:16 PM
#1
stevehale avatar

stevehale

New Zenner

Join Date:
Jan 2012
Posts:
27
Plugin Contributions:
0

Cannot remove new products from home page

Hi All

I have the "show new products on home page" switch to off in Configuration (set to zero) but new porducts still show in the centre of my home page, meaning that any home page text I want to do drops to the bottom of the page.

It should not show with this setting off but still does!

Can anyone help me to find a way of switching this "feature" off??

The site is:

https://www.flsuk.co.uk/onlinestore/

Cheers

Steve B

18 May 2013, 3:28 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Cannot remove new products from home page

To rule out your template, what happens if you switch to the Classic Template?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 May 2013, 3:28 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Cannot remove new products from home page

You have selected a template monster template where they take license in breaking basic functionality

Search for them here and see all the issues they cause

Switch to the classic template and see if it responds to admin settings

If so you will have to get with the template supplier to correct this

Zen-Venom Get Bitten

18 May 2013, 4:59 PM
#4
stevehale avatar

stevehale

New Zenner

Join Date:
Jan 2012
Posts:
27
Plugin Contributions:
0

Re: Cannot remove new products from home page

Are you able to tell me what php string to search for in the files to see where they have over rulled to admin settings??

I can't really switch to the classic theme due to the fact it's a live store.

However I am totally willing to belive what you say as I sort of suspected this myself.

Cheers

Steve B

18 May 2013, 5:32 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Cannot remove new products from home page

You should find the code in the override directory for the template name ...

includes/templates/your_template_name/ templates/ tpl_index_default.php

Looks like around here:
/**

  • display the New Products Center Box
    */

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

19 May 2013, 11:06 AM
#6
stevehale avatar

stevehale

New Zenner

Join Date:
Jan 2012
Posts:
27
Plugin Contributions:
0

Re: Cannot remove new products from home page

Thanks

I edited this file and took this section out.

All that happened was that I lost the right hand sideboxes and the bottom main_page text and the new products remained on the page!!

I am not very experienced with php code.

Can anyone help me to edit the code on the page to get rid of the new products??

This is the section I removed completely but, as I say it did not work:-

/**

  • display the New Products Center Box
    */
    ?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?> <?php } ?> <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?> <?php Cheers Steve B