News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart Products Module and URL

Started by dsidir, July 24, 2014, 11:20:50 AM

Previous topic - Next topic

dsidir

Well, the problem is that when you click to a product-product-details which is in the frontpage published on a virtuemart product module it leads to a url (for example http://www.domain.com/index.php/cucumber-) , but when I go to the top menu, where the e-shop menu and all the produtcs are, and click to the same product it show a url like http://www.domain.gr/index.php/e-shop/plants/cucumber-
Also when clicking on the product on the module, the slideshow which I have by default on the frontpage it doesnt dissapear and this makes me thing that actually the frontpage loads again. On the second case the slideshow does not load , as actually configured. What I want is actually to have in both cases the bigger link (second). I really dont know if this is an issue of virtuemart or the template. The template demo is : http://demo.virtuemarttemplates.net/joomla3/inspire/
and you can see what I mean if you click to a product on the frontpage or if you find the same product from the categories on the top. Please see images

[attachment cleanup by admin]

jjk

Quote from: dsidir on July 24, 2014, 11:20:50 AM
...Also when clicking on the product on the module, the slideshow which I have by default on the frontpage it doesnt dissapear and this makes me thing that actually the frontpage loads again. On the second case the slideshow does not load , as actually configured.

Might be a problem with your menus. Joomla needs a menu item id to assign modules to specific pages correctly. So in your case you should make shure that you have a menu (can be visible or hidden > http://magazine.joomla.org/issues/issue-mar-2014/item/1790-using-hidden-menus) for every VirtueMart category in your shop. Then you can go to your module settings and select the pages/menu items where you want to display the module.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

dsidir

All the products are in a specific product category. Concenring the module, it is set to show only on the frontpage-homepage. The problem is with the products that show on the module , either random, either latest products. These products actually seem to play with 2 different urls as mentioned before and show different results as you can see on the images above.

dsidir


jjk

Did you delete the SEO-Suffix at VirtueMart Configuration > SEO > SEO Suffix? The example links in your first post look like this field is empty (Default is -detail). Since VirtueMart product pages are accesible through different urls, VM needs a suffix to be able to determine that the requested url points to a product page. See: http://forum.virtuemart.net/index.php?topic=108095.msg361545#msg361545
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

dsidir

No, I didnt delete SEO Suffic, I ' ve just changed it from "-detail" to "-".

dsidir

Also, at the frontpage, sometimes at modules postition you can see the 1st url, other times you can see the 2nd url.

jjk

Quote from: dsidir on July 27, 2014, 07:25:16 AM
Also, at the frontpage, sometimes at modules postition you can see the 1st url, other times you can see the 2nd url.
That's usually an indication that Joomla mixes up some item IDs because the module(s) are not correctly assigned to menu items.  Please check your menu selections in your module's Menu assignment section (usually at the bottom of the module settings).

QuoteAlso when clicking on the product on the module, the slideshow which I have by default on the frontpage it doesnt dissapear
And that usually is an indication that you don't have a menu item for one or more VirtueMart categories, so Joomla doesn't really understand where to display that module.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

dsidir

The site is multilingual. I have created the same module for each language and I have set the module at the module assignment to show only at the frontpage of each language. This actually happens, expect when you click on the product that is shown at the module at that time.. When you click on the product on the module the slideshow is shown, but this is wrong and the product leads to a different url and a different way of presentation actually as you can see on the images of the first post. In one case you see only the product and a menu on the left an on the other case you see the product, you see no menu and you see the slider. Really confusing....

dsidir

However, as you mentioned before..... I really wonder why should be a product in every category in order to work correctly ? At this time I have some categories without adding a product. Why should this be a problem. I havent find an solution until now and I wonder, is this a problem of the template? of the module ? or the virtuemart ?

dsidir


dsidir

What I actually found untill now is that when I deactivate the sef from joomla connfiguration the url from the product details of the module and the menu is almost the same - just a product id is added. However, both urls lead to the same page , meaning that the slider or other modules dissapear as they should do, and I can conclude that the homepage is not actually reload as at the previous posts. However the problem still consists, as I need sef to be on.