Results 1 to 4 of 4

Thread: Unable to add multiple categories in PHP?

  1. #1
    Join Date
    Feb 2009
    Posts
    62

    Unable to add multiple categories in PHP?

    I have tried out creating the multiple hierarchy in my PHP program as well as using PHP program but unable to get the expected result it just output me the single line and that is only first line of my hierarchy that means it does not go beyond the line one. Can any tell me how do i achieve that..

  2. #2
    Join Date
    Apr 2008
    Posts
    193

    Re: Unable to add multiple categories in PHP?

    You Just need to add an table in to DB and store all products with respective each category while you retrieve form DB just compare this two table whether it has same id or not. Or else you Just add an table in to DB and store ur all products with respective each category while you retrieve form DB just compare this two table whether it has same id or not.

  3. #3
    Join Date
    Oct 2008
    Posts
    180

    Re: Unable to add multiple categories in PHP?

    I have seen several similar posts for other APIs stating to add the properties along with the cm:generalclassifiable aspect, although this similarly does not work in PHP. The standard filter plugin only works with the main category. You can use the $showCat variable and the Event Manager to make your own filters when can then be used to filter multiple categories.

  4. #4
    Join Date
    Mar 2008
    Posts
    227

    Re: Unable to add multiple categories in PHP?

    You can create a second set of categories that mimics the first and then use them to assign a second category. will render all nodes that belong to taxonomy 4 and 8. If you want to theme the output specifically you may need to loop through the dataset returned ($myNodes). just add an table in to DB and store ur all products with respective each category while you retrieve form DB just compare this two table whether it has same id or not.

Similar Threads

  1. Processors and its categories
    By Hemendu in forum Motherboard Processor & RAM
    Replies: 5
    Last Post: 13-01-2011, 10:05 PM
  2. Storage of multiple categories into a single unit
    By $Bird$ in forum Software Development
    Replies: 3
    Last Post: 08-10-2010, 10:45 AM
  3. Replies: 1
    Last Post: 06-07-2010, 11:50 PM
  4. PC Sync with Outlook Categories
    By Galbraith in forum Windows Software
    Replies: 5
    Last Post: 18-04-2010, 05:40 AM
  5. Customize categories on my PSP
    By Jaheel in forum Portable Devices
    Replies: 4
    Last Post: 29-08-2009, 08:43 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,549,061.32636 seconds with 17 queries