VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: iman on August 11, 2019, 13:37:58 PM

Title: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: iman on August 11, 2019, 13:37:58 PM
Hello

joomla 3.9.10
virtuemart 3.5
php 7.3

In all pages of my multilingual website, virtuemart had displayed : Warning "Assign the component VirtueMart to a menu item" . I created vm category layout menus to all entire languages  .
The warning has been removed from vm component pages but in other components such as joomla articles has remained! what is the problem ?? why does VM display its warnings in other component pages ?!
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: Studio 42 on August 11, 2019, 16:39:13 PM
The Virtuemart menu link need to be a category link but without any category or manufacturer set
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: iman on August 12, 2019, 14:21:29 PM
Thanks "Studio 42"
but my exactly question is:  why does VM display its warnings in other component pages ?!
 
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: Studio 42 on August 12, 2019, 19:48:13 PM
Because you display Virtuemart modules or links that try to find the right link, but dont find the menu ID needed by virtuemart.
If this is the case you have link beginning with YOURSITE.EXT/component/virtuemart
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: iman on August 14, 2019, 09:36:24 AM
So what should do to solve this problem ?
I displayed "virtuemat products" module in home page and its links are as you said : "YOURSITE.EXT/component/virtuemart" . it is very bad for structure of site links and seo .  :(
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: Studio 42 on August 14, 2019, 11:45:42 AM
Quote from: Studio 42 on August 11, 2019, 16:39:13 PM
The Virtuemart menu link need to be a category link but without any category or manufacturer set
This mean that you need to set a new Joomla menu item : Virtuemart > category and dont change anything in the setting and save it.
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: GJC Web Design on August 14, 2019, 11:56:59 AM
and if e.g. your new menu alias is shop then your links will be  "YOURSITE.EXT/shop/...... "
Title: Re: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: iman on August 14, 2019, 13:04:32 PM
I've already created the "VirtueMart ยป Category Layout" for each language but product urls are displayed in this pattern "YOURSITE.EXT/component/virtuemart" yet!
Title: Warning "Assign the component VirtueMart to a menu item" in other menu type page
Post by: iman on August 14, 2019, 20:51:46 PM
Quote from: Studio 42 on August 11, 2019, 16:39:13 PM
The Virtuemart menu link need to be a category link but without any category or manufacturer set
Thanks, it's ok now , the tip was VM category menu making without any category set.