Post by RonA » Sun Jan 23, 2011 1:21 pm

Does anyone know how to create a link so that when a customer clicks on the product page review stars they would be taken straight to the review? As it is, if I click on the review stars, nothing happens.

Thanks for any help!

New member

Posts

Joined
Tue Mar 09, 2010 4:11 pm

Post by JAY6390 » Sun Jan 23, 2011 11:41 pm

I did something similar for a company a while back. You basically need to add a flag/url param to say that it's meant to show the review. You could just have something like #review at the end of the url, then when they go to the page, get it to change to that tab if it's set and scroll to the review id

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by RonA » Mon Jan 24, 2011 8:12 am

Thanks Jay... I think I might be in over my head - I know how to place a same-page bookmark using html but not with php. (and I really not sure what a flag/url param is. ;-)

Here's the link I'm using for the stars in the product template:
<a href="#tab_review">

And I positioned the actual bookmark inside the review div like so:

<div id="tab_review" class="tab_page"><a name="tab_review"></a>
<div id="review"></div>

But for some reason, when I click on the star link it always takes me back to my store's home page.

Take a look here: http://www.inspirationpeakgifts.com/maizemeal.html

Any ideas... (beside the fact I need to take some php classes? ;-)

New member

Posts

Joined
Tue Mar 09, 2010 4:11 pm
Who is online

Users browsing this forum: No registered users and 177 guests