baalsgate Posted July 18, 2013 Posted July 18, 2013 sorry please forgive me if this is in the wrong place. I was playing around with a new install of oscommerce and found that when you dont display a "Product Model" it messes up the alignment of the product image , while i am sure that theres some other reason why when the price is floating to the right it adds a space on the RHS of the image when there is no Product Model being displayed I made a quick change so that when the line is not displayed it still takes the same space and this fixed the problem . around Line 48 from Product_info.php : if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br /><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name'] ; } I simply change it to add the same span class with a hidden space if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br /><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name'] . '<br /><span class="smallText"> </span>' ; } I found this frustrating so i hope it helps someone else.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.