Support Forums

duplicate parent/child category

This is a discussion on duplicate parent/child category within the Technical Support forums, part of the Technical Support Forums category; v4.2.1 Hosted Sigma With my site I plan on marketing to 250 cities within the U.S. I have 50 parent ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 01-07-2011, 12:38 AM   #1
Junior Member
 
Join Date: Jan 2011
Posts: 2
Rep Power: 0
ontariod is on a distinguished road
Question duplicate parent/child category

v4.2.1 Hosted
Sigma

With my site I plan on marketing to 250 cities within the U.S. I have 50 parent categories(all the states). In the states I have 250 child categories(the cities). Each city will have 12 child categories within the city, plus those child categories will have a total of 100 child categories attached. This is a lot to manually duplicate. How can I duplicate the 12 child categories with the 100 categories that I've attached to each of the 250 cities without having to do each and every child category to each city one by one. HELP!!
ontariod is offline   Reply With Quote
Old 01-07-2011, 08:40 AM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,163
Rep Power: 64
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

In direct answer to your question, I would use the phpMyAdmin and export the category table to a spreadhsheet (excel) or a csv. Then you can do whatever you wish locally on your computer assigning the appropriate parent category id's. Delete all of the original categories once you are done so you don't have duplicates and then again with phpMyAdmin import the file.

Personally, it makes no sense whatsoever to me to structure your category list the way that you are. Have you considered the implications of doing it this way? Not only from the end user experience, but also from your business marketing/advertising plan and budget?

Consider the fact that you are having this much trouble just trying to enter all of these... This same issue will then be experienced by your end users. Each person that wants to place an ad as well as a search will select a category from a drop down menu that has...300,300 categories in it according to my calculations. I can't even imagine how long it will take the server to calculate the total ads in each category if you choose to show totals in a category display. Are you planning on spending money in each of your 250 cities to advertise and market the site?

I'm not trying to be harsh, but I am trying to bring reality to light in your plan. Many people want to do it like this, because they want to be just like Craig's list or eBay. The reality is that in both of these cases, these companies have server banks, staff with software engineers/programmers, database experts, servers in the thousands and advertising/marketing budgets in the hundreds of thousands per month.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 01-08-2011, 12:10 AM   #3
Junior Member
 
Join Date: Jan 2011
Posts: 2
Rep Power: 0
ontariod is on a distinguished road
Default duplicate parent/child category

From what you just told me, how do I allow the states feature to show on the homepage.
Also, in phpmyadmin where do we add cities for the states, and what is the proper syntax to import files from excel?

Can you provide an example.
ontariod is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show child ads when viewing parent metrony Pre Sales Questions 2 01-19-2010 12:35 PM
Parent Child Issue go3matix Technical Support 1 06-06-2009 08:57 PM
Parent Child Field Issue go3matix Technical Support 3 06-01-2009 09:32 PM
Advanced parent/child list Red Technical Support 1 05-09-2008 07:38 AM
Parent Child Help Unregistered Pre Sales Questions 1 02-06-2008 03:07 PM


All times are GMT -4. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0