Product Tags Tab Change to Review

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…4/#review-form

3 answers

Profile photo of Sherlock 0.00 $tone November 14, 2012

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:

		      $request = Mage::app()->getRequest();
              if($request->getRouteName() == "review"){
			       $producttags = 'Product Reviews';
			       $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 !

Profile photo of Alice Ching 0.00 $tone November 14, 2012

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; ?>


Please login or Register to Submit Answer

Written By