Я делал так:
<div class="<?php echo $class; ?>">
<div class="btn-group">
<button type="button" data-toggle="tooltip" class="btn btn-default" title="<?php echo $button_wishlist; ?>" onclick="wishlist.add('<?php echo $product_id; ?>');"><i class="fa fa-heart"></i></button>
<button type="button" data-toggle="tooltip" class="btn btn-default" title="<?php echo $button_compare; ?>" onclick="compare.add('<?php echo $product_id; ?>');"><i class="fa fa-exchange"></i></button>
</div>
<div class="b1c-good">
<div class="b1c-name"<?php echo $heading_title; ?></h1> </div>
<ul class="list-unstyled">
<?php if ($manufacturer) { ?>
<li><?php echo $text_manufacturer; ?> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a></li>
<?php } ?>
<li><?php echo $text_model; ?> <?php echo $model; ?></li>
</ul>
<?php if ($price) { ?>
<ul class="list-unstyled">
<?php if (!$special) { ?>