Product Compare Image Problem

ThemeBurn SupportForumsOpenCart ThemesBurnEngineProduct Compare Image Problem

This topic has been marked as resolved.

*BUG*

There is a bug at line 47 of /catalog/view/theme/BurnEngine/template/product/compare.tpl

Product image is hidden from view on product compare page due to the following inline style:

margin-top: -100%;

June 7, 2016 at 10:51 pm #48468

I guess I should also mention that the “Summary” field is missing or is being left blank. Based on the compare.tpl file, it appears that it should contain the product description or at least a portion of it.

June 7, 2016 at 11:01 pm #48470

Just as a suggestion, if the other compare products bug is patched, you might consider also changing the following line in the next update for the same file:

<td><?php echo $products[$product['product_id']]['weight']; ?></td>

to

<td><?php echo round($products[$product['product_id']]['weight'], 2); ?></td>

There isn’t really any purpose in showing 8 digits behind the decimal place for the weight of a product.

June 8, 2016 at 6:42 pm #48502

Thanks for the tip :)

June 9, 2016 at 10:44 am #48534

Only the second part is a tip, did you happen to check the first part about the image not showing properly?

June 9, 2016 at 5:21 pm #48654
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
June 15, 2016 at 1:46 pm #48778
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.