Forums / All Other Contributions/Addons / Display all categories+products on one page

Display all categories+products on one page

Views: 30,673

Results 81 to 100 of 105
30 Apr 2010, 3:42 PM
#81
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

Display all categories+products on one page

I don't have subcats or products showing on my homepage. Just parent cats. In your define_main_page.php you make your custom home page. Then, simply turn off the option in admin>configuration>layout settings - "always show categories on main page"
Posted via Mobile Device

2 May 2010, 1:11 PM
#82
laiwis avatar

laiwis

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Re: Display all categories+products on one page

milkyway:

Glenn, Thank you for your reply.. I'm so happy that you are willing to help us :clap:

I think your solutions might not directly applicable in yellow's contributions, since yellow use simple category tree module to show all products (even under sub-cats) in main category page, while you solutions I think applied in product listing page?

Anyhow I'm not sure whether your solutions can be applied in yellow's contrib, I tried to look your code but I do not know how to apply in simple category tree mod.

By the way here I attach the mod from yellow so you can check it out if you dont have it yet.

Thanks so much Glenn!

Very nice,
It´s good for category-subcategory1-subcategory1_1.

But it doesn´t work corectly when i use subcats. :cry:
For example:
category - subcategory1 - subcategory1_1 - subcategory1_1_1 - subcategory1_1_1_1 - subcategory1_1_1_1_1

Dont show all products in main category.
I use all_sub_cats_products and add_subcategory_row_to_allSubCatsProducts too.

Please tell me what shall i do?

9 Sep 2010, 6:43 PM
#83
ks_b avatar

ks_b

New Zenner

Join Date:
Dec 2007
Posts:
52
Plugin Contributions:
0

Re: Display all categories+products on one page

anyone got this mod working with 1.3.9f?? Please let me know.

13 Sep 2010, 11:27 AM
#84
gjh42 avatar

gjh42

Black Belt

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

Re: Display all categories+products on one page

Note for Laiwis: the mod is not designed to show all of the products in the top category, just all the products under the current (sub)category. You would need to build a different version of the mod.

19 Jan 2011, 9:54 AM
#85
libuska78 avatar

libuska78

New Zenner

Join Date:
Jan 2011
Posts:
6
Plugin Contributions:
0

Re: Display all categories+products on one page

Hello,
this is exactly what I was looking for, my client wants to see all the products from the main category - if you click into it but still see also links to subcategories

I am greatful for these mentioned plugins but unfortunately it does not work. When I click on category, I can see only links to subcategories but no list of products. Is there any settings I need to do in admin (something enable, disable)? Anybody has an idea?

4 Feb 2011, 8:38 PM
#86
brooklynartist avatar

brooklynartist

New Zenner

Join Date:
Jan 2011
Location:
Brooklyn
Posts:
75
Plugin Contributions:
0

Re: Display all categories+products on one page

libuska78:

Hello,
this is exactly what I was looking for, my client wants to see all the products from the main category

Same here. I'd love to see a mod that would allow me to display products in a top category when you click it on the side menu. And displayed them just like product pages (a few at a time with page numbers to see the rest.)

I'll keep waiting... :cool:

9 Jan 2012, 2:27 PM
#87
lovelyland avatar

lovelyland

New Zenner

Join Date:
Jul 2011
Posts:
7
Plugin Contributions:
0

Re: Display all categories+products on one page

It works! Thanks a lot mate!:clap:

The subcategories are displayed above the products and the filter results by "items starting with" is between the subcategories and the products. However, the filter by manufacturers disappeared.
Is there any way to have there the filter by manufacturers rather than filter by items starting with or have them both there?

Cheers

bodyjewelrystores:

milkyway and qfreddie:

If you're using yellow1912's "all_sub_cats_products" add-on, and want to add sub-category links at the top of the page, I may have the solution for you. I've managed to modify the add-on to do this on my store.

See the attached zip for the patches and instructions to make this work. Please note that this is a very "hackish" mod by me - I have not tried this on a fresh install, and cannot guarantee that it will work for you. So be sure to make backups of all relevant files!

This modification requires code changes as well as replacing a file, so be sure to follow the instructions in readme.txt.

To yellow1912: you've been very helpful, so if the attached code works, feel free to make it into an actual update to your add-on, if you wish. :smile:

14 Jan 2012, 2:29 PM
#88
lovelyland avatar

lovelyland

New Zenner

Join Date:
Jul 2011
Posts:
7
Plugin Contributions:
0

Re: Display all categories+products on one page

Nobody knows?:blush:

28 May 2012, 7:50 AM
#89
mccrockett avatar

mccrockett

New Zenner

Join Date:
Jan 2006
Posts:
36
Plugin Contributions:
0

Re: Display all categories+products on one page

Hi everybody. I recently downloaded this Mod from yellow1912 in post #23. After somewhat struggling through the instructions to install it- I eventually got it to work. But I found it had a ton of bugs and lots of annoying things. So I tried to fix most of them. I just attached my most recent version of yellow1912's All Products, All Categories in Main Mod.

In my version of yellow1912's mod, I fixed the bug that caused the last item in the last row of each category to be out of alignment if the row isn't completely filled. To do this, I had to rework yellow1912's for loops. By the way, I'm still not entirely convinced that a triple nested for loop is entirely necessary, but until I find a better way I'll leave it alone.

Also, I made it so you can change the sort order for both Categories and Products through the Admin Control Panel. I thought this was ridiculous that it would be any other way. Now the sort order will match the same sort order as the Categories in your Categories sidebox.

I modified the installation instruction readme.txt and tried to make it more clear, but whether it's more clear is out for debate ;P . I also made a separate file that allows you to have the Category names instead of Category icons at the top of each category.

And finally, I deleted a lot of unnecessary code that wasn't doing anything. Please note, I don't really know PHP, I'm studying computer science and I've found that most of this code is very intuitive. So it may not be perfect. But either way, here's my version. I hope this helps some people. :)

Attachment #10527

8 Jun 2012, 2:06 AM
#90
mccrockett avatar

mccrockett

New Zenner

Join Date:
Jan 2006
Posts:
36
Plugin Contributions:
0

Re: Display all categories+products on one page

For what it's worth, I've been working on this code and I've made more improvements. I got rid of the triple-nested for loop in tpl_modules_all_cats_all_products.php and reduced it to a double for loop. So it runs a tiny-bit more efficiently. I also tested this in IE and Safari and it worked in both. Attached is my latest version.

8 Jun 2012, 3:16 PM
#91
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Display all categories+products on one page

I would say this mod ruins any SEO advantage. Having all mixed products on one page dilutes your page rank considerably, and google will only index a maximum of 100 links on one html page, and that will include all navigation links of the site, submenus, categories, product title links, more info links and picture links combined. So even a mere 20 products on a page could be the max Google will index and spider on a page, even though the page could have 100's of products.

27 Jul 2012, 12:42 AM
#92
mccrockett avatar

mccrockett

New Zenner

Join Date:
Jan 2006
Posts:
36
Plugin Contributions:
0

Re: Display all categories+products on one page

Hi dgent. Google will index more than 100 page links (http://www.seomoz.org/blog/how-many-links-is-too-many). However, 100 is the recommended max.

From the link:
"100 links to a page is a just a suggestion … There are pages out there with more than 100 links, and it isn't an issue."

Also, as the first post to this thread indicated, "Listing all Cats and Products on a single page is NOT recommended for sites with many categories and products."

30 Dec 2012, 10:03 AM
#93
nizernoj avatar

nizernoj

New Zenner

Join Date:
Apr 2012
Posts:
21
Plugin Contributions:
0

Re: Display all categories+products on one page

Thank you for all your work on this mod. I have a question before installing it:

Will this mod allow all of my products to exist in a main category and then allow me to also assign them to subcategories?

I run an online record store and want the ability to choose a genre and display all the albums... and then have sub-genres as subcategories so people can drill down further.

Also.. is it compatible with Zen Cart 1.5?

Thanks for any assistance you can offer.

31 Dec 2012, 12:15 AM
#94
gjh42 avatar

gjh42

Black Belt

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

Re: Display all categories+products on one page

No, you cannot have the products residing in a top category which also has subcategories. THis mod does display all of the subcats' products in the top category.
Not certain about v1.5.x compatibility.

31 Dec 2012, 5:32 AM
#95
nizernoj avatar

nizernoj

New Zenner

Join Date:
Apr 2012
Posts:
21
Plugin Contributions:
0

Re: Display all categories+products on one page

Thanks for the quick reply. @gjh42 you mentioned:> gjh42:

No, you cannot have the products residing in a top category which also has subcategories. THis mod does display all of the subcats' products in the top category.
What did you mean by display rather than simply saying I can see the products in the main category as well?

Perhaps I am describing the process incorrectly.. I am a newbie, so please forgive my lack of understanding... I want all the products to appear in a main category as well as in their specific subcategory.. I don't care whether the products actually live in the subcategory or main category as long as they can be displayed in both. Think of it this way: MAIN CATEGORY = ROCK, SUBCATEGORIES = Pop-Rock, Classic-Rock, Punk-Rock, Etc... I want to be able to choose the subgenre (subcategory) to be able to only see the products in that subcategory.. but if I choose the main category (ROCK) I want to see everything together.

Can this mod do what I am asking? Is there a live example I could see? Thanks again for your feedback.

31 Dec 2012, 2:08 PM
#96
gjh42 avatar

gjh42

Black Belt

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

Re: Display all categories+products on one page

Yes, that is what the mod does.
I recently helped with a site (p e r f e c t l o c k s .com) where this is in use. Look at any of the "collection" categories, and then at the collection subcategories. (Getting the subcategory titles in the top cat listing requires integration of an additional mod, Listing Subheadings, recently submitted to Plugins.)

31 Dec 2012, 2:27 PM
#97
nizernoj avatar

nizernoj

New Zenner

Join Date:
Apr 2012
Posts:
21
Plugin Contributions:
0

Re: Display all categories+products on one page

Thanks GJH42... This is exactly what I need... Thank you!

For clarity.. the additional mod you mention "Listing Subheadings" is only if I want to SEE the subcategory title (i.e. Punk-Rock) listed above the products (which belong to that subcategory) in the main category (Rock) listing page. If I don't want to SEE it listed above the products then I do not need the additional mod... Correct?

31 Dec 2012, 2:46 PM
#98
gjh42 avatar

gjh42

Black Belt

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

Re: Display all categories+products on one page

Correct.
One caution: there are several versions of this mod posted in this thread, and I am not certain which version was installed on the site I mentioned (done before I was involved). That version didn't take subcategories into account when displaying the products, listing them in product order even if that mixed up subcats. I had to add terms to the default_filter to order by subcat first, then by product. Some versions of the mod might not have this issue.

16 Jan 2013, 2:43 AM
#99
gameoverbeyond avatar

gameoverbeyond

New Zenner

Join Date:
May 2007
Posts:
41
Plugin Contributions:
0

Re: Display all categories+products on one page

I attempted to install this mod to a custom template in version 1.5.1, using ver 2.1 listed in this thread. However I had no change in the display on the parent category. I then added it to the default folders (after backing up) and switched to the default classic green template, still with no success. I did edit and verify the filenames.php was changed as directed.
Is this not compatible with 1.5.1? If not is there any way else to accomplish this same effect. I'm working on a game site and essentially want someone to be able to click PS3 and have all products show on the main category page. Then they can click games or accessories (the sub categories) to "filter" down to just games or accessories.

19 Feb 2013, 7:07 AM
#100
sharon_j avatar

sharon_j

New Zenner

Join Date:
Dec 2012
Location:
Tampa,FL
Posts:
25
Plugin Contributions:
0

Re: Display all categories+products on one page

litepockets:

So I've added a little flare to the sub-cats at the top of the listing pages that I think some might enjoy. Let me know if you do and I'll bundle up a mod after a few improvements.

What is it: It's a tabular display of subcats on category pages. IMHO it's a cleaner look than the table layout, and much easier to manipulate. I've changed it into an unordered list so you can use whatever tabs, styles, etc that you want.

What it is not: It's not a product filter, it uses the same subcat display and engine that yellow built. Though I do wish I could locate yellow's filter, I've never been able to find it

Anyhow, go ahead and check it out, let me know if it's worth it to bundle it up and upload it. It modifies no core files either :)

This is an adult site, please use discretion http://www.cupidsbedroom.com/store/bath-and-body

Hello,

I would also like to use this mod, and I am trying to get my site like the one in the above quoted post. On the main page, all products are not shown, and when you click on a category, products are displayed, and I do like the tabs that litepockets has added.

I am using ZC 1.51, with the Lancaster Lux template by picaflor. I am also currently using the 'column' display as opposed to 'rows'. I don't know if that makes much of a difference or not, but have no problem going back to 'rows' if I can get the desired results, even though it appears that the site I have listed as an example is using columns.

After going through this thread and trying the various versions, I am able to have all products listed on the main (front) page, which I don't want, and when I click on a category, there is no change(still just see all of the subcat links..

I am not trying this on a live site, trying to get it working on my demo first. It also seems that litepockets has not been active on this site for almost a year, nor does it appear that he was able to submit his code for the tabs before exiting, and neither has  McCrockett been active, who seems to have been the last one to update the code.

I have several categories and subcats, and I would really like it if my customers did not have to click and drill down so far to see items in the categories.

Any help or suggestions are appreciated.

Thank You,

Sharon