News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

How to move reviews ?

Started by Daisy, April 19, 2013, 08:13:38 PM

Previous topic - Next topic

Daisy

Hi Admin,

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

abantecart

Open below file for edit:

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

Locate below code:
<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:
<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

Forum Rules Code of conduct
AbanteCart.com 2010 -