Forums / Templates, Stylesheets, Page Layout / How to show all products on the main page?

How to show all products on the main page?

Locked

Views: 17,697

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
21 Oct 2006, 4:18 PM
#1
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

How to show all products on the main page?

I'd like to have the main page open up with the all products listing, or something similar. How can I do that?

I don't see how to customize the center box very well. Any pointers?

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com

22 Oct 2006, 6:34 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: How to show all products on the main page?

Try admin->configuration->index listing to see how to turn things off and on, and look at the file
./includes/languages/english/html_includes/custom/define_main_page.php to see how to change the top of the main page.

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

23 Oct 2006, 12:41 PM
#3
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

Re: How to show all products on the main page?

Thanks.

Unfortunately there is no way in the Index Listing to turn on the 'All Products' by default.

What I would like is when customers first come to the site to see all products or its equivalent.

Do I have to define a new page? How do I do that? How would I make that page the default to show up first?

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com

23 Oct 2006, 4:31 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: How to show all products on the main page?

Before you do that, have you considered adapting an existing feature? For instance, you could make a certain set of (or even all) products "Featured" and put the featured products on the front page.

Have you timed how long it would take to load a page that has pictures of all your products? It might be a bit slow ... something to consider.

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

31 Oct 2006, 6:10 PM
#5
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

Re: How to show all products on the main page?

That's a good idea. I will look into it.

Thanks!

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com

3 Nov 2006, 4:36 PM
#6
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: How to show all products on the main page?

I would like to do this also -- it seems like it should be quite simple, but I'm having a hard time figuring it out for some reason.

swguy said:

swguy:

Have you timed how long it would take to load a page that has pictures of all your products? It might be a bit slow ... something to consider.t

That's true, if you have a lot of items and you really want to display ALL of them -- but shouldn't you be able to just include the "Item Listing" on the main page? (Instead of showing all items, it will show the number that you set and then display the "next" button at the bottom.) ?

3 Nov 2006, 10:42 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: How to show all products on the main page?

Be careful about displaying all products on the Main Page ...

1 Does it have meaning to the customer?

2 How large of a page does your main page become?

3 If this is a huge page, what effect will this have on your band width limitations?

4 Along comes a spider and does the google dance ... was this a good experience or a waste of band width?

There are many ways to show all Products on the main page ... but you have to determine what does that broad term All mean and do for your site? for your customers? etc. etc. etc.

If you have half dozen to a dozen products ... this works great ...

But if you are getting into more than that ... it may be a bit much for the customer to appreciate and looked cluttered and messie ...

You can also make a new Category ...

Category:
Hide me

SubCategory:
All Products

Disable the Hide me Category ...

Now enable the All Products Category ...

Next, add a new entery to the products_to_categories table for each Product so these will become Linked Products ...

The advantage of this method is two fold ...

You can set your main page in Layout Settings:

Categories - Always Show on Main Page
Always Show Categories on Main Page
0= off
1= on
Default category can be set to Top Level or a Specific Top Level
Main Page - Opens with Category
0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

Now you can make a quick entry to your products_to_categories to ensure that all Products are Linked Products to the All Products Category ...

When you need to reset this, you can just delete for categories_id = XX in the products_to_categories table ... then rebuild it based on your current products ...

Or, you can build a Centerbox or page of your own to manage this display ...

There are multiple ways of doing this effectively ... but it depends on your individual site as to which method is easiest for you and for the final display ...

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!

4 Nov 2006, 12:58 AM
#8
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: How to show all products on the main page?

Linda,

Thanks for the quick reply.

For the store that I'm working on, there are no categories (well, technically there is one, but only one).

To me it seems reasonable, and not overly bandwidth-heavy (but, then, many of my Flash sites are over a MB anyway). What I'm looking for is just 3 main sections on the main page: Featured Items (maybe 2 or 4), New Items (the same), and after that the Item Listing (10 items, with the "Next Page" button at the bottom).

I do see your point. And for large store fronts with lots of products, you're right.

But consider that people who visit a site for the first time might very well think that the items displayed are in fact ALL of the items.

Here is the store as it is currently:

http://store.zippermosaics.com/

Unless you click on one of the images shown -- and then either notice that it says "Item x of xx" or else click on the "Listing" button -- there is no reason to assume that there are a great many other items as well, which there are.

Maybe I'm assuming people are less bright than they actually are. And I DO believe in "Less Is More" . . .

If nothing else, is there an easy way to just add a LINK to the Item Listing on the main page ("Click here to see all items" or whatever)?

Thanks,

dustin

4 Nov 2006, 1:58 AM
#9
ajeh avatar

ajeh

Oba-san

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

Re: How to show all products on the main page?

You need to view that site from a customer stand point at 1024x768 and 1280 x 1024 ...

Natural clicks on the scroll bar make those large images a real pain to try to see the product as moving thru the page splits the images from a display stand point ... and adjusting the page, due to size of imagesm to see the whole is time consuming ...

This makes for an unpleasant shopping experience ...

Have you tried to see the site using the setting for showing the category for the Configuration ... Layout Settings ...

Set to ON:

Categories - Always Show on Main Page
Always Show Categories on Main Page
0= off
1= on
Default category can be set to Top Level or a Specific Top Level

Set to 1:

Main Page - Opens with Category
0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

You could customize this to display the welcome, even though you are displaying the listing of categories_id 1 when on the home page, if you need that ...

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!

4 Nov 2006, 2:00 AM
#10
ajeh avatar

ajeh

Oba-san

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

Re: How to show all products on the main page?

You can always add a link to anything ... anywhere ... you just need to code for where and when you want to see it ...

Turning on the Category Tabs is one method ... or building your own link into the header is another ...

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!

4 Nov 2006, 4:55 AM
#11
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: How to show all products on the main page?

Linda,

Thanks for the reply.

As to display resolution: I've tested it both ways, and it doesn't concern me that much. (I do realize that any smaller than 1024x768 will be cumbersome, but I'm not too worried about that, given the average depth of most current monitors.) But I do appreciate your advice.

As far as setting the main page to "Always Show Categories," that did work -- except that now the ONLY thing on the main page is the Item Listing; the Featured Items and New Items are gone. (???) [see attached thumbnail]

This is not what I want.

I would like, again, to have:

1.) Featured Items
2.) New Items
3.) Everything else

4 Nov 2006, 6:30 AM
#12
ajeh avatar

ajeh

Oba-san

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

Re: How to show all products on the main page?

umm ... if you don't like the feature you turned ON ... perhaps turning it OFF would take it back to how it was? :unsure:

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!

4 Nov 2006, 5:52 PM
#13
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: How to show all products on the main page?

Ajeh:

umm ... if you don't like the feature you turned ON ... perhaps turning it OFF would take it back to how it was? :unsure:

Umm ... Yeah, thanks for that.

Any idea why the other sections dissapear when "Categories - Always Show On Main Page" is turned on? Is this the expected behavior? Meaning one can either show Categories on the Main page, or Featured/New Items, but not both -- is that correct?

Seems odd to me.

4 Nov 2006, 6:11 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: How to show all products on the main page?

This would depend on how your products are setup ...

How do you have the settings for the Index Listing?

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!

4 Nov 2006, 6:54 PM
#15
gibsons avatar

gibsons

New Zenner

Join Date:
Oct 2006
Posts:
16
Plugin Contributions:
0

Re: How to show all products on the main page?

Linda,

That is a very interesting idea. Thanks!

Stephen.

The best in new and original science fiction and fantasy novels
www.kingtigerbooks.com

7 Nov 2006, 3:15 AM
#16
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: How to show all products on the main page?

Ajeh:

This would depend on how your products are setup ...

How do you have the settings for the Index Listing?

This is the current setup (screenshot) :

http://platypusman.com/ZenCart_IndexListing.gif

(I haven't even messed with this, except to turn on "Featured Items" and to move that above "New Items.")

I really would like to get this figured out, since I'm also having problems with the "New Items" section (the dates are not being saved, for some reason, so there is currently no rhyme or reason to which items are selected as "new" -- and until I get that figured out, I'm going to just get rid of the "New" section altogether, since it's completely wrong).

17 Mar 2009, 9:50 AM
#17
koko avatar

koko

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Re: How to show all products on the main page?

I really to know how require tpl_modules_products_all_listing.php on includes\languages\english\html_includes\define_main_page.php

code :

<? require($template->get_template_dir('tpl_modules_products_all_listing.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_all_listing.php'); ?>

with this code I don't view anything product why?

17 Apr 2009, 10:33 PM
#18
ho_eve avatar

ho_eve

New Zenner

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

Re: How to show all products on the main page?

This will work

<? require(DIR_WS_MODULES . zen_get_module_directory('pages/products_all/header_php.php')); ?> <? require($template->get_template_dir('/tpl_products_all_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_all_default.php'); ?>

Succes!
Wim.

21 Apr 2010, 8:27 PM
#19
electrobumps avatar

electrobumps

New Zenner

Join Date:
Feb 2009
Posts:
29
Plugin Contributions:
0

Re: How to show all products on the main page?

Ajeh:

Now enable the All Products Category ...
products_to_categories to ensure that all Products are Linked Products to the All Products Category ...

When you need to reset this, you can just delete for categories_id = XX in the products_to_categories table ... then rebuild it based on your current products ...

Or, you can build a Centerbox or page of your own to manage this display ...

There are multiple ways of doing this effectively ... but it depends on your individual site as to which method is easiest for you and for the final display ...

What and where is the products_to_categories

Not quite following this explanation, although would really like to customize in this way. I only have ten products and I want these to list on the front page.

21 Apr 2010, 9:09 PM
#20
electrobumps avatar

electrobumps

New Zenner

Join Date:
Feb 2009
Posts:
29
Plugin Contributions:
0

Re: How to show all products on the main page?

Just found another post wich worked for me. Have pasted it below hopefully it may be of some use to someone..........,.

I think that you could do this by putting all the products in the same category.

Then go to configuration / layout settings / main page - opens with category and set it to open with that category.

You may well have to get rid of some of the existing stuff that you have on the home page, if that's what you want.

Then you can display the products and add to cart, or buy now buttons as you would in a normal product listing. That is also configurable in admin.

Hope that helps


Nick