Page 1 of 1

version 1.5.1.3 how can i put a banner here

Posted: Fri Jun 01, 2012 4:03 am
by kk_29
Hi.How can i put a banner to the place marked with red square below? (It is product page btw)

Image

Re: version 1.5.1.3 how can i put a banner here

Posted: Sat Jun 02, 2012 1:54 am
by inactiveaccount9912
You can without any modifications. If the banner would be product based, then add it in the description tab, if the banner would be the same for all products , than that wouldnt be to difficult. what's the case?

Re: version 1.5.1.3 how can i put a banner here

Posted: Sat Jun 02, 2012 6:53 am
by kk_29
It would be same for all products.

Re: version 1.5.1.3 how can i put a banner here

Posted: Sat Jun 02, 2012 4:44 pm
by inactiveaccount9912
The edit the file: catalog/view/theme/yourtheme/template/product/product.tpl and right after the code:

Code: Select all

<?php if ($review_status) { ?>
      <div class="review">
        <div><img src="catalog/view/theme/default/image/stars-<?php echo $rating; ?>.png" alt="<?php echo $reviews; ?>" />&nbsp;&nbsp;<a onclick="$('a[href=\'#tab-review\']').trigger('click');"><?php echo $reviews; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('a[href=\'#tab-review\']').trigger('click');"><?php echo $text_write; ?></a></div>
        <div class="share"><!-- AddThis Button BEGIN -->
          <div class="addthis_default_style"><a class="addthis_button_compact"><?php echo $text_share; ?></a> <a class="addthis_button_email"></a><a class="addthis_button_print"></a> <a class="addthis_button_facebook"></a> <a class="addthis_button_twitter"></a></div>
          <script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js"></script> 
          <!-- AddThis Button END --> 
        </div>
      </div>
      <?php } ?>
add the code for your image.