You are here:  » A way to create subcategories?


A way to create subcategories?

Submitted by hutchinsonm on Thu, 2010-07-15 22:51 in

Is there a way to create sub-categories under a main category?

Thanks

Matt

Submitted by support on Fri, 2010-07-16 07:51

Hi Matt,

The script doesn't support a category hierarchy i'm afraid as in most cases there just isn't the quality of category data available across different merchants and I think people would be dis-satisfied with the results.

However, what some users have done is to implement a category hierarchy by using multiple installation of Price Tapestry in sub-directories, with the directory name being the master category, and then the normal category field taking on the sub-category. There's more information about this setup in the following thread:

http://www.pricetapestry.com/node/205

...and don't forget that with the latest version you can allow all installations to share the same feeds directory by creating a feeds folder at the top level, and replacing the following code from line 4 of config.advanced.php:

  $config_feedDirectory = "../feeds/";

...with:

  $config_feedDirectory = "../../feeds/";

Within each installation, you can use the "Drop Record If Not (RegExp)" filter to only import the required categories - the value that you would use on the filter configuration page (filter added to the category field) would be something like:

(Category 1|Category 2|Category 3)

Hope this helps!

Cheers,
David.

Submitted by jacques24681 on Tue, 2013-04-30 22:10

Hi David,

Is there no way to get a category hierarchy for one pt installation. its very time consuming to go into each admin area to register and import feeds and too many subdomains.

I think a lot of people would appreciate it if there was a mod for this.

Thanks for your support.

jacques

Submitted by support on Wed, 2013-05-01 07:52

Hello jacques,

Thanks for your comments;

I have previously not included a category hierarchy in Price Tapestry as it would necessitate a significant amount of management to create a sensible hierarchy, however as the quality of data is improving I'll will revisit this - a number of users have set-up a way in which they treat the mapped categories of Category Mapping as sub-categories so there is scope to extend this - I will certainly consider now for the next release!

Cheers,
David.
--
PriceTapestry.com

Submitted by jacques24681 on Wed, 2013-05-01 08:24

Hi David,

Thanks, will appreciate this.

regards

Jacques

Submitted by JasonG on Fri, 2013-05-03 10:05

I would love the ability to create sub categories if you do re-visit this and takes votes from users...

Would make my site so much better!

Cheers
Stuart