Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12400
Latest: mikel
New This Month: 5
New This Week: 1
New Today: 1
Stats
Total Posts: 40609
Total Topics: 7132
Most Online Today: 180
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 96
Total: 96

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

0 Members and 1 Guest are viewing this topic.

Offline Nicole

  • Jr. Member
  • **
  • Posts: 64
    • 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: 15291
    • 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

  • Jr. Member
  • **
  • Posts: 64
    • 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
4476 Views
Last post October 28, 2006, 08:20:24 am
by SMFHacks
1 Replies
3283 Views
Last post November 15, 2008, 02:04:17 pm
by SMFHacks
1 Replies
2217 Views
Last post May 01, 2009, 06:48:17 pm
by SMFHacks
1 Replies
3835 Views
Last post March 29, 2010, 02:13:54 pm
by SMFHacks
1 Replies
1949 Views
Last post July 22, 2015, 10:58:45 am
by SMFHacks

+- Recent Topics

Forum ToolBox by Monocero
Today at 11:47:48 am

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
January 20, 2021, 10:21:25 pm

[Mod] Tagging System by SMFHacks
January 13, 2021, 08:43:33 pm

Using Alternate PayPal Address by KKOG
January 13, 2021, 07:24:46 pm

Assigning a BuyNow Button to a product by SMFHacks
January 12, 2021, 04:59:32 pm

SMF Links by Nicole
January 10, 2021, 12:02:39 pm

Error on the latest version by davejo
January 06, 2021, 08:04:05 am

Recent topics on board index by eugen
January 01, 2021, 11:08:16 am

Parser by swayforth
December 31, 2020, 12:24:23 am

Show Gallery in Users Profile by swayforth
December 29, 2020, 10:37:17 pm

Powered by EzPortal