Guest satori Posted February 10, 2009 Share Posted February 10, 2009 A customer's web site is giving the wrong URL in links for "Write review / comment" on product pages... As you can see, there is no domain name in the URL that is outputted: http://prod_write.html/?productId=1#write_review Example product page here. I'm really confused, because even if I add the correct domain before prod_write.html, it still doesn't bring up the right page. Any idea how I can fix this, so people can actually submit a review? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Ausy Posted February 10, 2009 Share Posted February 10, 2009 First I would check to see if the code in the skin is correct. Go to skins/yourskin/styleTemplates/content/viewProd.tpl and around line 50 you should have this code. <li class="nobullet"><img src="skins/{VAL_SKIN}/styleImages/icons/TellAFriend.jpg" alt="{LANG_TELLFRIEND}" /> <a href="index.php?_a=tellafriend&productId={PRODUCT_ID}" target="_self" title="{LANG_TELLFRIEND}">{LANG_TELLFRIEND}</a></li> <!-- BEGIN: read_reviews --> <li class="nobullet"><img src="skins/{VAL_SKIN}/styleImages/icons/ReadReview.jpg" alt="{LANG_READ_REVIEWS}" /> <a href="index.php?_a=viewProd&productId={PRODUCT_ID}&review=read#read_review" target="_self" title="{LANG_READ_REVIEWS}">{LANG_READ_REVIEWS}</a></li> <!-- END: read_reviews --> <li class="nobullet"><img src="skins/{VAL_SKIN}/styleImages/icons/WriteReview.jpg" alt="{LANG_WRITE_REVIEWS}" /> <a href="index.php?_a=viewProd&productId={PRODUCT_ID}&review=write#write_review" target="_self" title="{LANG_WRITE_REVIEWS}">{LANG_WRITE_REVIEWS}</a></li> Quote Link to comment Share on other sites More sharing options...
Guest satori Posted March 15, 2009 Share Posted March 15, 2009 I checked that out, even tried overwriting the original code with yours, but it's still generating the following hyperlink for "write review"... http://prod_write.html/?productId=615#write_review Again, note, there is no DOMAIN being generated with the link... Even if I test the link format by adding our domain name in front of it, the link doesn't bring up a write review page. Please... Any other ideas? Thanks for your help thus far. :rolleyes: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.