Hi all,
I am in the process of building a virtuemart store, using Virtuemart 2 and Joomla 2.5, running PHP 5.4.
My store will have close to 10,000 products that I plan to import and update, using the CSVI competent (http://www.csvimproved.com/ ). These products are spread out over about 10 parent categories and 180 child categories. My question is this...
According to the two hours of research that I have done; is the only way to get products in children categories to show up in their respective parent categories, to assign both categories to the product. OR Is there a way for the products to show up, by default, in both their assigned child category and their inherited parent category?
Example:
Product: Heinz Ketchup
Main Category: Grocery
Child Category: Condiments
Where as, the "Heinz Ketchup" is assigned the category of "Condiments", but when browsing in the store front, "Heinz Ketchup" shows up in both the "groceries" (parent) category and its assigned Condiments (child) category?
I am hoping their is a way that I can change the source code, install a plugin, patch a file or some other way allow for this option by default, without having to assign multiple categories to each item.
Any help in this matter would be greatly appreciated.
Thank You in advance,
~Andrew Glover
I'm having trouble with this as well. I see that there was a well documented fix in 1.5 but haven't found one yet in 2.5. Anyone around to help out?
I'm having this same exact issue. Hope someone has a fix. :P
Here the same.... If it is sub-category, it seems nothing can be done so far...
Sad...
Pei
I am looking for this as well. If no one already has a solution I may probably go ahead and hack Virtuemart.
Wow... jingtao... hack VM?
Teach me how to please... Nobody would like to be constrained by it, and everybody can take advantage of the open source.
Quote from: jingtao on September 21, 2012, 01:40:37 AM
I am looking for this as well. If no one already has a solution I may probably go ahead and hack Virtuemart.
Quote from: jiapei100 on September 21, 2012, 04:27:28 AM
Wow... jingtao... hack VM?
Teach me how to please... Nobody would like to be constrained by it, and everybody can take advantage of the open source.
jiapei, by "hack" I mean modify the source code (not "hacker" hack).
I will post my solution here once I have found it.
I have now finished such a plugin, which can automatically add all parent categories to your products (or in turn remove all parent categories except for the child category, so the product will no longer be shown in the parent category). It can also automatically remove all categories from all child products or duplicate the categories of the parent product.
You can download the plugin for free from my homepage:
http://open-tools.net/virtuemart-2-extensions/vm2-auto-categories-plugin.html
There you'll also find some documentation.
Reinhold