A way to create subcategories?
Submitted by hutchinsonm on Thu, 2010-07-15 22:51.Price Tapestry
Is there a way to create sub-categories under a main category?
Thanks
Matt
Support forum loginActive forum topics©2006-2012 IAAI Software |
A way to create subcategories?Submitted by hutchinsonm on Thu, 2010-07-15 22:51.Price Tapestry
Is there a way to create sub-categories under a main category? Thanks Matt |
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.