I don't know what version you are running, so my code may be different from yours. In your original oc (if you don't have a backup of the original, download it from the oc website) go to catalog/view/theme/yourtheme/template/product.tpl and locate the code for "review status." It should look something like:
In my file, it's around line 235. Directly below it, insert your code for the social buttons. It should look something like (I have modified the pinit button):
Just a suggestion for future changes: rather than deleting code, I always comment it out. That way if it causes problems at some point, or I change my mind, all I have to do is remove the comment tags.
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; ?>" /> <a onclick="$('a[href=\'#tab-review\']').trigger('click');"><?php echo $reviews; ?></a> | <a onclick="$('a[href=\'#tab-review\']').trigger('click');"><?php echo $text_write; ?></a></div>
Code: Select all
<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> <a class="addthis_button_pinterest" pi:pinit:url=<?php echo $breadcrumb['href']; ?> pi:pinit:media=<?php echo $thumb; ?> pi:pinit:layout="none"></a> </div>
<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js"></script>
<!-- AddThis Button END -->
</div>
http://www.bluelotustreasures.com
oc v1.5.6.1 with vq_mod - clean install
Current extensions: currency drop down; usps fix; vqmodmanager; sliding shopping cart; multiple flat rate options; braintree payment gateway; ajax quick checkout; show voucher theme pictures
Who is online
Users browsing this forum: Semrush [Bot] and 62 guests