
Originally Posted by
OopsIbrickedIT
I installed this great plugin on 1.5.0 and got it working except it shows only 1product per row. Does anybody have had same problem and maybe a fix to it?
It was a CSS-problem, below a solution which worked for me:
Code:
#relatedProducts {text-align: center; float:left;}
.centerBoxContentsRelatedProduct {float: left; margin: 1em 0; display: inline-block; width:25%;}
Note that I have 4 products side by side so widht is therefore 25%. For 3 products as standard installation it should be 33%
Also here is a fix for 1.5.x giving an sql syntax error when pressing install button:
Code:
INSERT INTO zen_configuration
(configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)
VALUES ('Related Products Columns per Row', 'SHOW_PRODUCT_INFO_COLUMNS_RELATED_PRODUCTS', '3', 'Related Products Columns per Row<br />0= off or set the sort order', '18', '100', NULL, now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\', \'11\', \'12\'),')
Bookmarks