Zen Cart Logo
Forums / General Questions / displaying products on mainpage

displaying products on mainpage

Locked

Views: 558

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
15 Nov 2009, 10:31 PM
#1
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

displaying products on mainpage

Hi guys, back with more annoying questions ;)

Current client wants to display the specials on the main page (Yes I know how to enable that side of things) but I've added three other div areas to the define_main_page.php as I don't want them showing on every other page in the site.

Now my problem is that when I obviously do enable the specials on the main page it sticks them down below the divs I've made, which really isn't where I want them.

Now I've tried removing the

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

from the tpl_main_page.php and inserting it into the define_main_page.php and this didn't work the way I wanted it to either.

The only other thing I can think of is finding where ever the code for the center column is stored and editing out the show specials products and copying that code across to the define_main_page.php to see if it would work.

If anyone has any ideas on how to do this it'd be great thanks

Cheers

Rick

15 Nov 2009, 10:52 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: displaying products on mainpage

We might be able to help with a link to the site rather than a screenshot.

15 Nov 2009, 11:03 PM
#4
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

Re: displaying products on mainpage

Sorry to bother you fellas with this, found a way to do it. didn't need to bother with any of the body code just added it in via using the specials sidebox on single column status :)