VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: vaskern on September 02, 2013, 15:52:15 PM

Title: Empty link on frontpage - featured products?
Post by: vaskern on September 02, 2013, 15:52:15 PM
When I check the source on the frontpage I find an empty link in each product? Everything is displayed correctly but the code for each product looks like this:

<h3>
<a title="Product title" href="/category/product-details">The product</a>
</h3>
<div>
<a href="/category/product-details"></a>

Anyone else seeing this? Solution?
Thanks
Title: Re: Empty link on frontpage - featured products?
Post by: jenkinhill on September 02, 2013, 16:07:20 PM
Where is the url with this precise issue?
Title: Re: Empty link on frontpage - featured products?
Post by: vaskern on September 03, 2013, 10:17:44 AM
Webshop with photos & presents from Uppsala (http://motivuppsala.se/)
Can't remember tampering with anything connected. Also tried with another default theme and it persisted.
Title: Re: Empty link on frontpage - featured products?
Post by: jenkinhill on September 03, 2013, 11:35:04 AM
I don't see any empty links on that page.
eg

<h3>
<a href="/kalendrar-boecker/uppsalakalender-2014-info" title="Uppsalakalender 2014">Uppsalakalender 2014</a> </h3>

<div>
<a href="/kalendrar-boecker/uppsalakalender-2014-info" ><a title="Uppsalabilder samlade i en väggkalender för 2014" class="modal" href="http://motivuppsala.se/images/stories/virtuemart/product/kalender-uppsalabilder-2014.jpg"><img src="/images/stories/virtuemart/product/resized/kalender-uppsalabilder-2014_200x200.jpg" alt="Uppsalabilder samlade i en väggkalender för 2014" class="featuredProductImage" border="0" /></a></a> </div>


<div class="product-price">
<div class="PricesalesPrice" style="display : block;" >Pris <span class="PricesalesPrice" >150,00 kr</span></div> </div>

<div>
<a href="/kalendrar-boecker/uppsalakalender-2014-info" title="Uppsalakalender 2014" class="product-details">Mer information</a> </div>
Title: Re: Empty link on frontpage - featured products?
Post by: vaskern on September 03, 2013, 18:32:47 PM
Strange, the empty link appears in Firebug but not when I choose view source. Instead there is a nested link (which also appears in the code you posted)?
</a></a>
Looks odd aswell, doesnt it?
Title: Re: Empty link on frontpage - featured products?
Post by: Maxim Pishnyak on September 04, 2013, 11:15:35 AM
Screen shot of your Firebug screen with mentioned issue, please.
Title: Re: Empty link on frontpage - featured products?
Post by: vaskern on September 04, 2013, 11:21:34 AM
Screendump attached

[attachment cleanup by admin]
Title: Re: Empty link on frontpage - featured products?
Post by: Maxim Pishnyak on September 04, 2013, 12:15:29 PM
Quote from: vaskern on September 03, 2013, 18:32:47 PM
Strange, the empty link appears in Firebug but not when I choose view source. Instead there is a nested link (which also appears in the code you posted)?
</a></a>
Looks odd aswell, doesnt it?
Actually red color in Firebug View source indicates wrong HTML tag. Resolve this error in your template overrides.
Title: Re: Empty link on frontpage - featured products?
Post by: vaskern on September 17, 2013, 13:18:50 PM
Removed all overrides and still the same..?
Uploaded a new copy of Beez5 aswell as all files in "com_virtuemart/views" - and still getting that extra nested link.
Title: Re: Empty link on frontpage - featured products?
Post by: Maxim Pishnyak on September 17, 2013, 17:13:43 PM
Quote from: vaskern on September 17, 2013, 13:18:50 PM
Removed all overrides and still the same..?
Could you clarify what did you remove?
Title: Re: Empty link on frontpage - featured products?
Post by: vaskern on September 17, 2013, 17:52:04 PM
Yes, I removed the com_virtuemart folder in Joomlas template/beez/html. Also uploaded the folder components/com_virtuemart/views again.
Title: Re: Empty link on frontpage - featured products?
Post by: Maxim Pishnyak on September 17, 2013, 19:10:00 PM
Pm me access.
Title: Re: Empty link on frontpage - featured products?
Post by: vaskern on January 07, 2014, 21:36:24 PM
I finally deleted the views/categories folder and problem solved