Hi, How do i change the title name of the product review tab. Right now the tab title is using "Product Tags", this should just be "Reviews" or "Product Reviews".
Please see http://magento-themes.joomlart.com/j…4/#review-form
3 answers
Hi vertex615,
You can try as following for this issue
Open the file of app\design\frontend\default\jm_sceriftemplate\cat alog\product\view.phtml looking for this snap of code
HTML Code:
<?php if($product_additional_data = $this->getChildHtml('product_additional_data')): ?> <li><a href="#ja-tabitem-tags"><?php echo $this->__('Product Tags') ?></a></li> <?php endif; ?>
Change it to
HTML Code:
<?php $request = Mage::app()->getRequest(); if($request->getRouteName() == "review"){ $producttags = 'Product Reviews'; }else{ $producttags = 'Product Tags'; } ?> <?php if($product_additional_data = $this->getChildHtml('product_additional_data')): ?> <li><a href="#ja-tabitem-tags"><?php echo $this->__($producttags) ?></a></li> <?php endif; ?>
That would helps !
This works but right under those codes I see it already had product reviews tab. Why not use those?
PHP Code:
<?php if($product_reviews = $this->getChildHtml('product_reviews')): ?>
<li><a href="#ja-tabitem-reviews"><?php echo $this->__('Product Reviews') ?></a></li>
<?php endif; ?>
<?php if($review_form = $this->getChildHtml('review_form')): ?>
<li><a href="#ja-tabitem-reviewform"><?php echo $this->__('Write Your Own Review') ?></a></li>
<?php endif; ?>
Hi vertex615,
That tab has no meanings under the review layout so just did as I mentioned, you can try to play around with that tab yourself