VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: luiskar on December 13, 2013, 11:59:48 AM

Title: add a category in several categories
Post by: luiskar on December 13, 2013, 11:59:48 AM
In virtuemart 1.1.9 I can add a category in several categories, for example category x in category y and z, and when I change the category x it changes in categoy y and z,  but now in virtuemart 2.0.24b i can find this option, anyone knows if I can do that.
Title: Re: add a category in several categories
Post by: jjk on December 13, 2013, 20:45:48 PM
What do you want to achieve? In VM2 you can assign a single product to multiple categories in the product edit view, if you wish to do so.
Title: Re: add a category in several categories
Post by: luiskar on December 14, 2013, 10:32:47 AM
Quote from: jjk on December 13, 2013, 20:45:48 PM
What do you want to achieve? In VM2 you can assign a single product to multiple categories in the product edit view, if you wish to do so.
I know that, but can i assign a categorie to multiple categories?
Title: Re: add a category in several categories
Post by: Milbo on December 14, 2013, 11:17:28 AM
Quote from: luiskar on December 13, 2013, 11:59:48 AM
In virtuemart 1.1.9 I can add a category in several categories,

As far as I know you could not.
Title: Re: add a category in several categories
Post by: luiskar on December 14, 2013, 12:35:49 PM
Quote from: Milbo on December 14, 2013, 11:17:28 AM
Quote from: luiskar on December 13, 2013, 11:59:48 AM
In virtuemart 1.1.9 I can add a category in several categories,

As far as I know you could not.
You're right, it only works with products, not categories. It's a same, the funcionality would be nice.
Title: Re: add a category in several categories
Post by: Milbo on December 14, 2013, 14:27:45 PM
It makes not really sense. Just create another category with the same name and do it manually. Then imagine it would be the same category. You could easily create loops in the tree. I doubt a lot people could handle it correctly and if we should catch that,.. then the code is 3 times bigger and everyone will lose a lot performance. But what is the advantage? what do you try todo?