Author Topic: Product div's in rows displaying inside the first product div  (Read 720 times)

wildcat_r

  • Beginner
  • *
  • Posts: 19
  • VirtueMart Version: 3.0.10
Product div's in rows displaying inside the first product div
« 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.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: Product div's in rows displaying inside the first product div
« Reply #1 on: August 14, 2015, 12:22:50 pm »
what happens when you do not show the add to cart in category?


J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9496
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Product div's in rows displaying inside the first product div
« Reply #2 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wildcat_r

  • Beginner
  • *
  • Posts: 19
  • VirtueMart Version: 3.0.10
Re: Product div's in rows displaying inside the first product div
« Reply #3 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.