How to do this? What should i wright in /components/com_virtuemart/views/category/default.php , so i can be able to apply different categories different views.
I need the same hack
When you add a product need to specify two categories, selected and the parent category.