News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] Setting menu links to categories and sub-category

Started by JoomJohnny5, August 01, 2011, 22:26:19 PM

Previous topic - Next topic

JoomJohnny5

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 :)
There's only one remedy for mulletosis.

jjk

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.  ;)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

Why not just choosing the category view and choose a category by the parameter settings? ok maybe it does work only on j1.5
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

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.... :)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

JoomJohnny5

Thank you JJK - as you said, not entirely elegant but it does work.  Good stuff!
There's only one remedy for mulletosis.