I do not see an ID on VM product categories, nor do I see where to add the ID when creating a menu link to VM category ? What obvious linking issue am I missing?
Doing some testing on J! 1.7 + VM 2 RC - first time on J! for any newer versions since 1.5.x. Didnt see a manual yet for VM2 RC..
Thank you developers for your hard work excited to see what VM 2 will bring! Folks, make sure and SUPPORT THE PROJECT (http://virtuemart.net/home/support-the-project) :)
I'm afraid setting a menu link to single categories is not yet very user friendly in the current VM2 version (Release Candidate). However it is possible to do that.
An example using J1.7/VM2 with the VM2 Sample Data. A menu item for "Enter Shop" has already been created where "VirtueMart Default Layout" is selected as Menu Item Type.
In Joomla administration go to: Menu Manager and create a new Menu Item, i.e. "Hand Tools"
Set the following:
Menu Item Type: Select "External URL"
Menu Title: "Hand Tools"
Link: index.php?option=com_virtuemart&view=category&virtuemart_category_id=1&lang=en (you could copy and paste this part from the "VirtueMart Default Layout" on the frontpage if you hover over a category and then right-click - Copy Link Location. Alternatively you can look up the category id in the "_virtuemart_categories" database table.)
Status: Published
Access: Public
Menu Location: Main Menu
Parent Item: Enter Shop ("VirtueMart Default Layout" selected as Menu Item Type)
Not very elegant yet, but it works. ;)
Why not just choosing the category view and choose a category by the parameter settings? ok maybe it does work only on j1.5
Quote from: Milbo on August 02, 2011, 00:20:56 AM
Why not just choosing the category view and choose a category by the parameter settings? ok maybe it does work only on j1.5
Parameters don't show in J1.7. Since I didn't play with menu settings in J1.5.23 for quite a while, I had forgotten that they should be there.... :)
ah nice j1.7 thanks for the new trap
Thank you JJK - as you said, not entirely elegant but it does work. Good stuff!