News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Products per row BUG

Started by d0ublezer0, February 25, 2012, 13:03:05 PM

Previous topic - Next topic

d0ublezer0

Option "products per row" not affected on real output: No matter what number I enter, the number of products in a row is equal to three.
Settings are saved without any problems in the database.
However, in the category template you can check the output:
// Calculating Products Per Row
$BrowseProducts_per_row = $this->perRow;
echo $BrowseProducts_per_row;
           
The result in my case is 3

VM 2.0.2

PRO

d0ublezer0,

look IN EACH category, it also has a setting.

You can manually change each one, or do an sql update


updated jos_virtuemart_categories set products_per_row=NUMBER


d0ublezer0

In each of my categories this setting equals to 0 (zero).
As I think, where is set to 0, that should not override main settings in shop.

However, change of this setup in category settings solves my problem. Thank you.

Milbo

#3
This is right d0ublezer0, maybe a typo, thx. Please give exactly hte name of the template you use, is it in categories or category? In which file it is always 3?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/