Post by kk_29 » Fri Jun 01, 2012 4:03 am

Hi.How can i put a banner to the place marked with red square below? (It is product page btw)

Image

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am

Post by inactiveaccount9912 » Sat Jun 02, 2012 1:54 am

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?

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by kk_29 » Sat Jun 02, 2012 6:53 am

It would be same for all products.

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am

Post by inactiveaccount9912 » Sat Jun 02, 2012 4:44 pm

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.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am
Who is online

Users browsing this forum: No registered users and 28 guests