VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Maggern on July 12, 2012, 01:33:41 AM

Title: Front end product image link to details page ok, but not text link
Post by: Maggern on July 12, 2012, 01:33:41 AM
At all my front end modules:

The product image link to the details page: WORKS
The product textname link to the details page: FAILS

The difference between to two links are:

index.php/virtuemart/default-layout/vinopptrekkere/elektrisk-vinopptrekker-detaljer
index.php/virtuemart/default-layout/vinopptrekkere/elektrisk-vinopptrekker-detaljer&Itemid=196 [not working]

Can anyone help me with this?

Also: If I turn off SEO, it helps somewhat with the text link, but it still gives another link than the image link.

I use Joomla. 2.5.8 and vm 2.0.8c
Title: Re: Front end product image link to details page ok, but not text link
Post by: ivus on July 18, 2012, 10:20:09 AM
Hi Maggern,

do you have a link to your site?

Also is it happening on all image links? or I'm assuming you're only talking about the CATEGORY list view?


In any case, the solution is easy. You want both links to go to the same place, however they look like they are constructed incorrectly. check that the following is the same in both cases


<?php echo JHTML::link($product->link, $product->product_name); ?>


I hope this helps.



Title: Re: Front end product image link to details page ok, but not text link
Post by: jiffy on November 17, 2012, 03:48:21 AM
Hy ivus! This is also happened with me. Could you please guide me step by step how to fix that? this is my site: http://www.nihalshop.com

Looking forward your reply,

Thanks