X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to make 'x reviews' link take you to Customer Feedback tab and not separate page (https://forum.x-cart.com/showthread.php?t=69889)

DanUK 08-28-2014 03:48 AM

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

sinobest 10-27-2014 02:03 PM

Re: How to make 'x reviews' link take you to Customer Feedback tab and not separate page
 
nobody knows how to do?

totaltec 10-27-2014 06:24 PM

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>)

DanUK 10-27-2014 11:35 PM

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.


All times are GMT -8. The time now is 08:43 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.