Zen Cart Logo

Where is centerBox?

Locked

Views: 973

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Oct 2010, 4:59 AM
#1
goldenbell avatar

goldenbell

New Zenner

Join Date:
Oct 2010
Posts:
2
Plugin Contributions:
0

Where is centerBox?

Hello,

I need to create a custom template which includes turning the categories product listings and new products listing into two tone boxes. I cant seem to find which files contain the centerBoxColumn and centerBoxContentProducts divs ( not the CSS ).
Can anyone help?

Thanks!

29 Oct 2010, 5:24 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Where is centerBox?

I cant seem to find which files contain the centerBoxColumn and centerBoxContentProducts divs
These ae dynamic and depends upon what page content you are referencing

29 Oct 2010, 6:26 AM
#3
goldenbell avatar

goldenbell

New Zenner

Join Date:
Oct 2010
Posts:
2
Plugin Contributions:
0

Re: Where is centerBox?

This a client request-- they want the new products on the main page and the categories products to be laid out in columns that are two toned. Looking through the forums this is the closest I've found to an example http://www.dealsdirect.com.au/
They want the top half one color and the bottom half another color.
I'm guessing to achieve this I need to edit core files, I'm just not sure which ones.

29 Oct 2010, 6:58 AM
#4
kobra avatar

kobra

Black Belt

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

Re: Where is centerBox?

I'm guessing to achieve this I need to edit core files, I'm just not sure which ones.
Mostly, NEVER edit a core file - - ZenCart is setup to have template overrides for almost any file that requires editing
https://www.zen-cart.com/tutorials/index.php?article=36
https://www.zen-cart.com/tutorials/index.php?article=346

Your example is not a ZenCart - but there are several alternative ways to get close to what you linked to

You will probably need the column/grid 3rd party module to allow listing in columns available in the free software addons link above left

29 Oct 2010, 2:28 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Where is centerBox?

The "two-tone boxes" (box with headerbar) can be done just by styling the container divs and headings/item titles in your stylesheet, after organizing the element display order in admin.

The actual format of the page you reference is best described in Zen Cart terms as the category listing page with the subcat listings each containing one featured product listing. This would require custom coding involving elements from several PHP files and additional SQL queries to the database.

It actually looks like it would be a popular addon to have if someone were to code it.