News:

Looking for documentation? Take a look on our wiki

Main Menu

Subcategory of VM2.0.10 clearly has big issues....

Started by jiapei100, September 21, 2012, 00:42:54 AM

Previous topic - Next topic

jiapei100


Several issues need to be summarized whenever I use subcategories:

Let's give an example to make everything much clearer:
Quote
Category 1
   subcategory 1A
      products 1Aalpha
      products 1Abeta
   subcategory 1B
      products 1Balpha
   subcategory 1C
      products 1Calpha
Category 2
   subcategory 2A
      products 2Aalpha
   subcategory 2B
      products 2Balpha
   subcategory 1C
      products 1Calpha

1) Subcategories names in different categories are not allowed to be the same, which doesn't make sense to me.
Namely, currently VM2.0.10 cannot tell the difference between
Category 1->subcategory 1C  and  Category 2 -> subcategory 1C

2) Whenever subcategories are adopted, customers' reviews disappear for all products which actually belong to a subcategory first, then it belong to a category.
Namely, for all the above products, NO customer reviews.

3) Whenever subcategories are adopted, the products in all subcategories can not be shown
Namely, if I click subcategory 1A, I can successfully show products 1Aalpha and products 1Abeta.
However, if I click Category 1, I'd love all subcategories including subcategory 1A, subcategory 1B and subcategory 1C can be displayed (this is OK),
as well as all the products in all these subcategories (this is NOT OK)


I'd love to help, but seriously, have little experience in VM PHP debugging. I think this shouldn't be very hard to solve....


Cheers
Pei
Welcome Vision Misc
http://www.visionmisc.com

inktek


AH

I assume it has got something to do with SEF.

Someone will jump in here to correct me if I am inaccurate!
Regards
A

Joomla 4.4.5
php 8.1

reinhold

#3
Regarding the display of products in child categories on the parent category's page, I have now finished such a plugin, which can automatically add all parent categories (or only one parent category if you have a deep category tree) to your products, so the products will be listed on the parent category's page, too. The plugin can also do the reverse and remove all categories except for the child category from your products, so that the products are no longer displayed on the parent categories' pages.
It can also automatically remove all categories from all child products or duplicate the categories of the parent product.

You can download the plugin (free of charge, available under the GPL v3) from my homepage:
http://open-tools.net/virtuemart-2-extensions/vm2-auto-categories-plugin.html

There you'll also find some documentation about the configuration.

Reinhold