Author Topic: How to move reviews ?  (Read 4194 times)

Offline Daisy

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How to move reviews ?
« on: April 19, 2013, 08:13:38 PM »
Hi Admin,

Would you please help me.. how to move reviews comments tab become left side or right side layout.
thanks

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4314
  • Karma: +291/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to move reviews ?
« Reply #1 on: April 28, 2013, 10:28:30 PM »
Open below file for edit:

/storefront/view/default/template/pages/product/product.tpl

Locate below code:
Code: [Select]
<div class="tabs">
<a rel="#tab_description">
<span class="tab_right"></span>
<span class="tab_left"></span>
<span class="tab_text">
<?php echo $tab_description?>
</span>
</a>
<?php if ($review_status) { ?>
<a rel="#tab_review">
<span class="tab_right"></span>
<span class="tab_left"></span>
<span class="tab_text">
<?php echo $tab_review?>
</span>
</a>
<?php ?>
<a rel="#tab_related">
<span class="tab_right"></span>
<span class="tab_left"></span>
<span class="tab_text">
<?php echo $tab_related?>
(<?php echo count($related_products); ?>)
</span>

</a>

Change to:
Code: [Select]
<div class="tabs">
<?php if ($review_status) { ?>
<a rel="#tab_review">
<span class="tab_right"></span>
<span class="tab_left"></span>
<span class="tab_text">
<?php echo $tab_review?>
</span>
</a>
<?php ?>
<a rel="#tab_description">
<span class="tab_right"></span>
<span class="tab_left"></span>
<span class="tab_text">
<?php echo $tab_description?>
</span>
</a>
<a rel="#tab_related">
<span class="tab_right"></span>
<span class="tab_left"></span>
<span class="tab_text">
<?php echo $tab_related?>
(<?php echo count($related_products); ?>)
</span>

</a>
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod