Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / small error in product review page

small error in product review page

Views: 622

Results 1 to 6 of 6
16 Aug 2013, 2:32 PM
#1
asdfwen avatar

asdfwen

New Zenner

Join Date:
May 2012
Posts:
30
Plugin Contributions:
0

small error in product review page

After buyer submitting the review, there is an extra "> above main page(next to model no). You may have a view the below pic. How to remove it? my site is https://www.frhair.com
Attachment 12899

16 Aug 2013, 11:23 PM
#2
asdfwen avatar

asdfwen

New Zenner

Join Date:
May 2012
Posts:
30
Plugin Contributions:
0

Re: small error in product review page

sorry, it is not above main page. It is above main image.

Can anybody help me?

16 Aug 2013, 11:52 PM
#3
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: small error in product review page

Did you recently install zen lightbox?

17 Aug 2013, 10:29 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: small error in product review page

asdfwen:

sorry, it is not above main page. It is above main image.

I'm not seeing the problem. Possibly because I'm not looking in the right place.

Please supply a link to where I/we can see the actual problem being described (or details how to reproduce the problem)

Cheers
Rod

17 Aug 2013, 3:12 PM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: small error in product review page

responsivezc:

I can see the problem at
http://www.frhair.com/index.php?main_page=product_reviews&products_id=156&cPath=6_20

I think the file you must edit to fix the issue is:
/includes/templates/cherry_zen/templates/tpl_product_reviews_default.php

There is an extra > you should remove.

I see it now.
Unfortunately it hasn't helped me a great deal.

However, I did note that the extraneous text is only output from this part of the code (I've highlighted the extra chars)

<script language="javascript" type="text/javascript"><!-- document.write('<a href="bmz_cache/a/a7251c4cf689d0da6bc4ab7cb4fc4cb3.image.570x570.jpg" rel="lightbox-g" title="3pcs/lot Natural Color Brazilian Virgin Hair Extensions Silky Straight<br /><span class=\"smallText\">[HE156]</span>[B]">[/B]<img src="bmz_cache/6/65ffaa717ad390b9b8be3a7fb6f4dba6.image.200x200.jpg" alt="3pcs/lot Natural Color Brazilian Virgin Hair Extensions Silky Straight [HE156]" title=" 3pcs/lot Natural Color Brazilian Virgin Hair Extensions Silky Straight [HE156] " width="200" height="200" /><br /><span class="imgLink"></span></a>'); //--></script>

But it doesn't appear a few lines further down in

<h1 id="productReviewsDefaultHeading">3pcs/lot Natural Color Brazilian Virgin Hair Extensions Silky Straight<br /><span class="smallText">[HE156]</span></h1>

So this is suggesting to me that the problem is most likely to be related to the Image handler addon rather than the product reviews template file. However, I don't rule this out as a possibility.

To the OP.... You may be able to use the 'Developers Toolkit' and perform a search for:

</span>"><img

(exactly like that), and if you are VERY LUCKY you'll only get one result, and that will be in the file you'll need to edit.

If this doesn't produce any result, try a search for shorter variants of this text. eg
</span>">
or
"><img

Just be aware that the less specific this search term, the more results you are likely to see, and you'll need to manually identify the one you want.
Don't waste time doing a search for just '</span>' 'cos they'll be dozens of those in almost every file.

Cheers
Rod