VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: navi8001 on April 08, 2015, 00:44:03 AM

Title: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: navi8001 on April 08, 2015, 00:44:03 AM
Hi,

I am using joomla 3.4.1, VirtueMart 3.0.6.2, PHP 5.3.24, my test website is http://www.allrainbowkids.com/testbazaar/index.php/bazaar-shop. I am using the default Beez5 template (as that is the current template of my live site) pretty much as is....very few mods other than colors, font, etc...


The problem that I am having is that when I change the number of default products per row no matter what number I select the number of columns never changes beyond two.

Specifically the location of the product pages are here:
http://www.allrainbowkids.com/testbazaar/index.php/shop-bazaar-spices-online/botanicals

I have changed the Number of Products per Row in the Product Categories Form -> Details Section and also Configuration -> Shopfront -> Default number of products in a row.

Kind of stuck as to how to fix this as on my live site running Joomla 2.5.28, PHP 2.3.24, and VM2.6.6 if I change these same parameters the number of products per row it works accordingly.

Any help that could be provided would be appreciated recently upgraded and this seems to be main issue need to fix before can move site live environment.

Thx

Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: jenkinhill on April 08, 2015, 13:21:31 PM
The central maincontent div is not wide enough to show more than two products, which each have min-width set to 220px, and they have to fit within a space about 550px wide.

You could move the modules from the right side column to liberate that space, reduce the product min-width, increase the width of the maincontent wrapper, currently set to  width: 53%; and adjust both sidecolum widths at the same time. Whatever suits you.

VM3.0.6.2 is not fully compatible with Joomla 3.4.1 - you should use 3.6.4 or wait for the 3.6.7RC to complate testing. http://dev.virtuemart.net/projects/virtuemart/files



Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: navi8001 on April 08, 2015, 17:40:17 PM
Thanks for the guidance and pointing where to look...

I am using firebug and going to play around with the formatting of the layout.... Due to the bug related to product Save, Save and Close , etc... I downloaded 3.6.4 last evening... but will wait for 3.6.7 to be released.
Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: navi8001 on April 08, 2015, 18:21:02 PM
Actually though this begs another question. In previous versions of VM  the formatting would scale accordingly based on the number of products per row that was selected in the configuration  (e.g., I select six  products the column widths  would scale to fit six products). The user wouldn't have to touch the template layout it would adjust according to the configuration.

Does the user have to adjust template  formatting each time they select/want  a different number of products per row? I could be wrong but seems to me to still be an issue somewhere in the code that isn't adjusting for the number of products per row selected by user as was done in previous versions.
Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: jenkinhill on April 08, 2015, 19:05:02 PM
The default VM templates work fine with most templates, but you are using a narrow fixed width template with both side columns in use. Most new sites use a wider template with a screen responsive layout.

The VM template system is now much more flexible than ever before, and with layout and style being easy to change with template & css overrides.
Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: GJC Web Design on April 08, 2015, 21:52:37 PM
just remove the
min-width: 220px

and it is back to what it was before

Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: jenkinhill on April 08, 2015, 23:21:59 PM
 :)  Yup. 
Title: Re: Number of Products in Row Broken / Not Showing more than 2 Columns VM3.0.6.2
Post by: navi8001 on April 11, 2015, 19:07:53 PM
Thanks  much deleted min-width.... and it worked....Likely will check out other templates as well...