Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 108
Total: 108

Author Topic: How to display Items from Subcategories within Parent Category?  (Read 2514 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: 16451
    • 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
5320 Views
Last post October 28, 2006, 08:20:24 am
by SMFHacks
1 Replies
4404 Views
Last post November 15, 2008, 02:04:17 pm
by SMFHacks
1 Replies
3685 Views
Last post May 01, 2009, 06:48:17 pm
by SMFHacks
1 Replies
5541 Views
Last post March 29, 2010, 02:13:54 pm
by SMFHacks
1 Replies
3693 Views
Last post July 22, 2015, 10:58:45 am
by SMFHacks

+- Recent Topics

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal