Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I display products on the home page?

How do I display products on the home page?

Views: 2,021

Results 1 to 14 of 14
27 Apr 2011, 2:02 AM
#1
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

How do I display products on the home page?

Hi All,

I'm new to Zen Cart and am having some trouble finding the info I need. Thanx in advance :)

I have been trying to figure out how to display a product grid as my home page. I set the "Main Page - Opens with Category" to my All Products category ID, and "Categories - Always Show on Main Page" to 1. All I get is single product detail pages.

And I get a breadcrumb trail leading to the specific product.

What did I miss? Where can I find real documentation on how these template files work? The FAQ is unfortunately lacking in this area and I cannot find a documentation section anywhere.

Basically I want the "home" page to display every product just as it would if it were in a grid display for any other category. I am adding Zen Cart to a site that is built on Wordpress and need to link directly to a category page. In this case the All Products category.

How can I accomplish this? Just a push in the right direction is all that I need.

Thanx!

27 Apr 2011, 2:33 AM
#2
kobra avatar

kobra

Black Belt

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

Re: How do I display products on the home page?

I set the "Main Page - Opens with Category" to my All Products category ID
What exactly do you have entered for this?

27 Apr 2011, 2:36 AM
#3
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

The ID of the category "69"

27 Apr 2011, 2:50 AM
#4
kobra avatar

kobra

Black Belt

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

Re: How do I display products on the home page?

Basically I want the "home" page to display every product just as it would if it were in a grid display for any other category.
For a grid you need the 3rd party addon for column grid for the product listing

For every product it states to use "0"

I am adding Zen Cart to a site that is built on Wordpress and need to link directly to a category page. In this case the All Products category
Linking to and using anything else as a frontend you will find is fraught with pitfalls
All Products is not a category it is a listing layout

Seems like you are trying to use ZenCart in a way that it is not intended to be used

27 Apr 2011, 2:53 AM
#5
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

Really, I need a 3rd party add-on to perform a layout that is common in practically every e-shop and e-store online? OK I'll find one :)

I tried the "0" setting but it does not display the products, just the category links. No products are displayed :(

Thanx for your help!

27 Apr 2011, 2:56 AM
#6
kobra avatar

kobra

Black Belt

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

Re: How do I display products on the home page?

When entering the cat number this is the default layout you can see **HERE**

That is without the column grid module

27 Apr 2011, 2:58 AM
#7
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

What do you mean by "Seems like you are trying to use ZenCart in a way that it is not intended to be used"

How am I not using it the way it was intended? Are you saying that Zen Cart is intended to be the sole CMS for a site?

All I need is for Zen cart to control the products and the store. I can link to the "entry page" for the store from any Wordpres page. I am not integrating Zen Cart into Wordpress or vice versa.

Neither of the systems swill control anything in the other systems.

Does that make sense?

27 Apr 2011, 3:01 AM
#8
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

Unfortunately I do not get that "default" layout.

Only single products linked at the top with prev/next links. And a long string of breadcrumbs like this: "Home::Blackwell::Blackwell Product"

What could be causing this?

27 Apr 2011, 3:03 AM
#9
kobra avatar

kobra

Black Belt

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

Re: How do I display products on the home page?

All I need is for Zen cart to control the products and the store. I can link to the "entry page" for the store from any Wordpres page. I am not integrating Zen Cart into Wordpress or vice versa.
But you initially stated
I am adding Zen Cart to a site that is built on Wordpress and need to link directly to a category page.
Which sounds as though you are using WP to access specific items
If I got this wrong so be it but that is what is sounded like to me

Why not link to
your_domain/your_zc_path/index.php?main_page=products_all

Unfortunately I do not get that "default" layout.
Provide a link to it

27 Apr 2011, 3:07 AM
#10
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

I was not clear in my initial explanation, that was my fault :)

The issue is not the linking but more the layout and that I am sooooo not familiar with Zen Cart, yet :)

But as you have let me know I need a column/grid layout add-on to accomplish this.

Where an I find GOOD documentation on Zen Cart API? Or do I have to buy the book?

Thanx again

27 Apr 2011, 3:09 AM
#11
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

Unfortunately I am working locally. I'll have to upload and re-install on the dev server tomorrow.

I'll post a link then then.

Thanx

27 Apr 2011, 3:12 AM
#12
kobra avatar

kobra

Black Belt

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

Re: How do I display products on the home page?

Where an I find GOOD documentation on Zen Cart API?
Only what is in the wiki on the API

Or do I have to buy the book?
The book actually only covers navigating the settings in the admin
No customization, No templating, No nothing else

27 Apr 2011, 5:23 PM
#13
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

Here's the link to my home page: http://obeliskwebdesign.com/sandbox/blogs/bonbon/boutique/

It seems to re-direct to the Product detail page. Not sure why though??

Thanx

27 Apr 2011, 5:47 PM
#14
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: How do I display products on the home page?

NOt sure what I did but now it is functioning as it should. Thanx again :)