Forums / Templates, Stylesheets, Page Layout / remove monthly specials box from front page

remove monthly specials box from front page

Locked

Views: 12,073

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
29 Jun 2007, 3:42 PM
#1
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

remove monthly specials box from front page

How/where do I remove the monthly specials box from the front page.

I have items on special... but I only want them to display on the specials page. :-)

Thanks

29 Jun 2007, 6:58 PM
#3
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: remove monthly specials box from front page

s-a-a-a-w-e-e-e-e-t!

Muchas Gracias!

20 Feb 2008, 5:28 AM
#4
ttb avatar

ttb

New Zenner

Join Date:
Feb 2008
Posts:
11
Plugin Contributions:
0

Re: remove monthly specials box from front page

gjh42:

Admin > Configuration > Index Listing > Show Special Products on Main Page.
Also other pages can be set here.

How to remove the "Specials" link at the top of the page as well? I've been searching for an hour and all I can find re how to remove the "specials" box on the side...but there is also a link at the top of the page in the middle

7 May 2008, 2:03 AM
#5
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: remove monthly specials box from front page

gjh42:

Admin > Configuration > Index Listing > Show Special Products on Main Page.
Also other pages can be set here.

I've done this, yet my Specials, Featured Products and New Products are all still showing on the home page?

They are set as follows:
Show New Products on Main Page 0
Show Featured Products on Main Page 0
Show Special Products on Main Page 0
Show Upcoming Products on Main Page 0

The only way i can get them to turn off is to set Configuration>Layout>Categories - Always show categories on Main Page to 0.

Is this correct? I want to show the categories, but not the specials, new products or featured products.

Thanks.

7 May 2008, 5:05 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: remove monthly specials box from front page

Your Template is probably missing the proper "switches" to turn them on and off - Suggest you compare your tpl_main_page.php to one from the template default.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

7 May 2008, 5:27 AM
#7
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: remove monthly specials box from front page

Kim:

Your Template is probably missing the proper "switches" to turn them on and off - Suggest you compare your tpl_main_page.php to one from the template default.

Had thought that initially, and they looked the same. However, to be sure, i just compared them with Winmerge and they're identical. To be extra sure, i compared my template with an unaltered download of 1.3.8a afterwards and they're still identical. Am i right in thinking i should compare includes/templates/MYTEMPLATE/templates/tpl_index_default.php?

My template file (and the default file) has the following code:

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?> <?php /** * 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 } ?>
8 May 2008, 7:29 AM
#8
chinabizlee avatar

chinabizlee

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: remove monthly specials box from front page

but how to add it in the other pages?

http://www.panjiayuanbeijing.com
the largest antiques market in beijing,china

10 May 2008, 5:07 AM
#9
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: remove monthly specials box from front page

chinabizlee:

but how to add it in the other pages?

Hi - i'm not sure what you mean?

Also, i just noticed that i posted the code from the New Products section and this is the thread for 'Specials', but it's essentially the same.

Thanks.

17 Jun 2008, 4:54 AM
#10
shpeedie avatar

shpeedie

New Zenner

Join Date:
May 2008
Posts:
29
Plugin Contributions:
0

Re: remove monthly specials box from front page

ive also got this same problem.
All my Index Listings are set = 0
The Specials box doesnt show on the main page, however all categories and sub categories show the specials and featured.

Any idea how i might tackle this one ?

3 Oct 2008, 3:04 AM
#11
earthlyinfo avatar

earthlyinfo

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: remove monthly specials box from front page

I am having the same issue as well.

3 Oct 2008, 4:20 AM
#12
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: remove monthly specials box from front page

Kim:

Your Template is probably missing the proper "switches" to turn them on and off - Suggest you compare your tpl_main_page.php to one from the template default.
Now that it has been confirmed the "tpl_main_page.php" file is not the problem, care to share where these "proper switches" are that you had mentioned?

The learning is in the doing.

Potent Products

4 Oct 2008, 1:56 AM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: remove monthly specials box from front page

Actually, Kim suggested comparing tpl_main_page.php, but fergusmacdonald seems to have compared tpl_index_default.php and found that identical (unless he meant that he compared both of those files with their originals.)

5 Oct 2008, 4:32 AM
#14
vfoxpro avatar

vfoxpro

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

Re: remove monthly specials box from front page

The links are in Configuration->Layout Settings -> Categories Box...

20 Oct 2009, 1:54 PM
#15
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: remove monthly specials box from front page

Kim:

Your Template is probably missing the proper "switches" to turn them on and off - Suggest you compare your tpl_main_page.php to one from the template default.

gjh42:

Actually, Kim suggested comparing tpl_main_page.php, but fergusmacdonald seems to have compared tpl_index_default.php and found that identical (unless he meant that he compared both of those files with their originals.)

Apologies about that, I did compare the tpl_index_default.php page.

I've now compared the tpl_main_page.php and they are different, however, I now have a modified version of Zen-Cart which is likely to affect this page.

Therefore it would be helpful if Kim could let us know what code we are looking for that would be a switch for the 'specials' section. I've had a look through the code and can't find anything that seems to fit the bill (the word specials does not appear in the file anywhere).

Thanks.

20 Oct 2009, 2:48 PM
#16
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: remove monthly specials box from front page

I think Kim misspoke - tpl_index_default.php is the file that should do the runtime control of centerboxes for the standard homepage. tpl_index_categories.php is the file that outputs the category listing if you have categories set for the homepage, so that is probably the one to compare. Did you initially purchase a template, or did you do all the customization?

20 Oct 2009, 3:10 PM
#17
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: remove monthly specials box from front page

Thanks for getting back to me.

I've just checked the tpl_index_categories.php and it's not in the override folder, which means it's not part of my template. However, to double check, i compared it with a fresh copy and it's identical.

It is originally the simple_zen template with some tweaks by a web-designer.

20 Oct 2009, 3:39 PM
#18
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: remove monthly specials box from front page

So apparently somehow the settings you are making in admin are not being seen by the tpl file? Have you tried changing nearby settings and seeing if those make a difference where they ought to?

20 Oct 2009, 4:00 PM
#19
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: remove monthly specials box from front page

Cowabunga! Changing the 'Show New Products on Main Page - Category with SubCategories' affects the main page as well as changing in the categories with subcategories as it's supposed to.

It appears as though the main page is being treated as a category with subcategories.

Any idea how this could be happening?