Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 170
Total: 170

Author Topic: How to display Items from Subcategories within Parent Category?  (Read 2504 times)

0 Members and 1 Guest are viewing this topic.

Offline Nicole

  • Full Member
  • ***
  • Posts: 122
    • View Profile
How to display Items from Subcategories within Parent Category?
« on: December 01, 2020, 01:32:54 am »
I have one very important qiestions concering classifieds (but same issue applies for downloads, links directory & store as well)

As the scripts are set by default, they will allow to have a parent category and within it subcategories.

Hopwever if we go to the display of a parent category it will only list items whoch have been directly placed into this PARENT category but will NOT display the items contained in the sub categories of this parent category.

I feel the better approach - like eBay does it as well - is to list / show ALL items when going to a parent category.

To give an example. Let's say we have the Parent Category

- Car Parts

Its Sub Categories are for example

 - Breaks
 - Tiers
 - Seat

Now going to the Parent Category "Car Parts" ought to show all items contained wihin:

- Car Parts (Parent Category) AND its Subcategories Breaks, Tiers, Seats

NOT Just the ones whoch had been directly placed into the Parent Category

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: How to display Items from Subcategories within Parent Category?
« Reply #1 on: December 01, 2020, 12:07:27 pm »
I get the idea using the categories as kind of a filter option might work for the Classified and the Store mod.  I modeled the category system based on SMF's post/topic model where it is only visible inside the parent category. The store  mod has the option to put a product in multiple categories.


The changes required to make this happen though are hard with the current setup and would require major changes. It gets difficult going to sub sub categories.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Nicole

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: How to display Items from Subcategories within Parent Category?
« Reply #2 on: December 02, 2020, 05:01:42 am »
I see. Thank you. That is a pitty.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5307 Views
Last post October 28, 2006, 08:20:24 am
by SMFHacks
1 Replies
4398 Views
Last post November 15, 2008, 02:04:17 pm
by SMFHacks
1 Replies
3671 Views
Last post May 01, 2009, 06:48:17 pm
by SMFHacks
1 Replies
5533 Views
Last post March 29, 2010, 02:13:54 pm
by SMFHacks
1 Replies
3673 Views
Last post July 22, 2015, 10:58:45 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal