VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: xldrift on February 18, 2015, 20:54:45 PM

Title: Strange problem with product listing after upgrading to VM3 and Joomla 3.3.6
Post by: xldrift on February 18, 2015, 20:54:45 PM
I have just upgraded a site to the latest version of Joomla and Virtuemart. I get this error when listing the products. I have tried different kinds of standard templates and the one I am using now is the exact same as on another installation where the proble does not show. Here are the site and a product listing:

http://oppgradert.broxdata.no/nettbutikk/spill

When I use the Firebug to debug the page I might have found the problem, but I do not know how to solve it. According to the other site that works just fine the products should be listed as this:

<div class="row">
  <div class="product vm-col vm-col-3 vertical-separator">
    <div class="spacer">
      <div class="vm-product-media-container">
      <div class="vm-product-rating-container">
      <div class="vm-product-descr-container-1">
      <div class="vm3pr-3">
      <div class="vm3pr-0">
      <div class="vm-details-button">

But on this site the <div class="spacer"> on line 3 here is missing...

I apreciate if anyone could give me a hint of how to solve this.

Reards
Geir Limås
Title: Re: Strange problem with product listing after upgrading to VM3 and Joomla 3.3.6
Post by: GJC Web Design on February 18, 2015, 22:50:57 PM
looks like a closing div missing in the template.. all the col divs are inside each other

try the other non horizon default one
Title: Re: Strange problem with product listing after upgrading to VM3 and Joomla 3.3.6
Post by: xldrift on February 18, 2015, 23:28:06 PM
Thank you for answering.
I think I must try to clearify this (sorry if my english is not good):
The code I entered is actually from the site that works. Just copied from Firebug. There are more codes and closing divs, but they are not shown here because I was just showing what I thought was missing in the code on the site that dos not work properly: The line: <div class="spacer"> is missing on this site: http://oppgradert.broxdata.no/nettbutikk/spill
and that might be the cause of the problem which I am not able to fix...

Sorry, I do not understand what you mean by "try the other non horizon default one"?
Title: Re: Strange problem with product listing after upgrading to VM3 and Joomla 3.3.6
Post by: GJC Web Design on February 19, 2015, 00:17:12 AM
my answer was based on looking at your live site source code

the divs are all cascaded inside each other which says to me - missing closing div on the product loop

the class is also vm-product-horizon which is from the alt sublayout from \components\com_virtuemart\sublayouts\products_horizon.php

try the \components\com_virtuemart\sublayouts\products.php in the admin
Title: Re: Strange problem with product listing after upgrading to VM3 and Joomla 3.3.6
Post by: xldrift on February 19, 2015, 07:46:31 AM
Nice.

I changed the menu item from "procucts_horizon" to "No override" and that did it.

Thanks a lot for you help.