VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: wildcat_r on August 14, 2015, 02:03:13 AM

Title: Product div's in rows displaying inside the first product div
Post by: wildcat_r on August 14, 2015, 02:03:13 AM
I think I have found a bug for VM 3.0.9 inside Joomla 3.4.3 Using a custom template (and the default protostar template) I double checked! Basic information 
OS Linux i
PHP 5.5.26
MySQL 5.1.73-log
Time 23:58
Caching Enabled
GZip Enabled

Link to site http://test.aquapulsechemicals.com/chlorine-dioxide-tablets.html
The product divs are all hiding inside the first product in the row. I have looked everywhere for the problem and think it could be in the layout php as it doesn't happen on the demo.virtuemart.net site at all. Maybe I have missed something but I am sure it shouldn't look like that. I have disabled jquery, reinabled it and changed templates twice. I'm stumped. Any help would be appreciated.
Title: Re: Product div's in rows displaying inside the first product div
Post by: PRO on August 14, 2015, 12:22:50 PM
what happens when you do not show the add to cart in category?


Title: Re: Product div's in rows displaying inside the first product div
Post by: GJC Web Design on August 14, 2015, 13:25:39 PM
yes - a closing div is missing somewhere .. try a couple of products say with no add to cart or custom field etc to narrow it down
Title: Re: Product div's in rows displaying inside the first product div
Post by: wildcat_r on August 15, 2015, 00:10:33 AM
Ok, I turned the VM to catalog mode, turned off the view custom fields, and I still see the problem. So, I saved my database, and did an install of sample data again, I discovered that the problem was gone. So I started customizing as I had set my system, removed currencies, countries, etc. Template stayed the same.
Then I disabled the stock quantity and immediately the problem appeared, all the product div's dived inside each other. I don't want to show stock all the time because we will always take the order even if we are out of stock. What can I modify to make sure I can uncheck that option in the template? Is that in category layout php? For now I think this is a tiny bug. I'm going to keep working now that I know the problem. There is also a weird inline style that sets the custom variant to display:none; when the screen width is less than 400px. Do you know where that little piece of code is? I'll post a fix as soon as I get done tweaking the look.