Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

How to make 'x reviews' link take you to Customer Feedback tab and not separate page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-28-2014, 03:48 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default How to make 'x reviews' link take you to Customer Feedback tab and not separate page

Hi, am setting up our 4.6.1 cart with the inbuilt advanced customer reviews.

I don't like the way the link at the top of the product details page saying, for example, '134 Reviews" takes you to the separate 'reviews.php' page. I would rather it take you to and open up the 'customer feedback' tab on the same page. That way you are not being taken away from the product page and have a choice at the tab of if you want to see the rest.

Anyone know how to do this?

Thanks

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote

The following user thanks DanUK for this useful post:
totaltec (08-30-2014)
  #2  
Old 10-27-2014, 02:03 PM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 429
 

Default Re: How to make 'x reviews' link take you to Customer Feedback tab and not separate page

nobody knows how to do?
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #3  
Old 10-27-2014, 06:24 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to make 'x reviews' link take you to Customer Feedback tab and not separate page

Just edit /common_files/modules/Advanced_Customer_Reviews/acr_product_details.tpl
(Or much better copy the template into your own custom skin)

Look for this line (near line 53):
Code:
(<a href="reviews.php?productid={$productid}{if $cat}&amp;cat={$cat}{/if}">{$general_rating.total} {$lng.lbl_acr_reviews}</a>)

change it to:
Code:
(<a href="#product-tabs-feedback">{$general_rating.total} {$lng.lbl_acr_reviews}</a>)
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #4  
Old 10-27-2014, 11:35 PM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default Re: How to make 'x reviews' link take you to Customer Feedback tab and not separate page

I paid to get that done in the end.
__________________
4.4.2

and

4.6.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:19 PM.

   

 
X-Cart forums © 2001-2020