Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product reviews


Guest

Recommended Posts

I'm not sure how to explain this. When a review is written, the entire review is not displayed. Would someone please visit my site and look at one of the reviews and please tell me what I need to do in order to have the entire review visible? I would really appreciate it. Thanks in advance. Lisa

Link to comment
Share on other sites

I'm not sure how to explain this. When a review is written, the entire review is not displayed. Would someone please visit my site and look at one of the reviews and please tell me what I need to do in order to have the entire review visible? I would really appreciate it. Thanks in advance. Lisa

OK I have looked through all of the topics about the product reviews and I can't find the answer I need. Can someone just tell me how to adjust the product review box to display the entire review? This is what shows up on the reviews page:

Beautiful piece. Thank You! A gift for a dear friend, and I can't wait to give it to her. Will be do..

 

Located here:

http://www.lisasfineline.com/oscommerce/reviews.php

 

and this is what shows up on the item page:

 

Beautiful piece. Thank You! A gift for a dear friend, and I can't wait to give it to her. Will be doing a lot of gift shopping HERE!

 

located here:

 

http://www.lisasfineline.com/oscommerce/pr...90&reviews_id=3

 

So my question is how do I make the entire review show up on the review page.

 

Thanks for any help you can offer. Lisa

Link to comment
Share on other sites

Lisa,

 

It is possible that it is this line from catalog/product_reviews_info.php:

 

<td valign="top" class="main"><?php echo tep_break_string(nl2br(tep_output_string_protected($review['reviews_text'])), 60, '-<br>') . '<br><br><i>' . sprintf(TEXT_REVIEW_RATING, tep_image(DIR_WS_IMAGES . 'stars_' . $review['reviews_rating'] . '.gif', sprintf(TEXT_OF_5_STARS, $review['reviews_rating'])), sprintf(TEXT_OF_5_STARS, $review['reviews_rating'])) . '</i>'; ?></td>

 

I think the 60 in this statement is liniting the amount of characters going to the info box... I would try changing this number...

 

Mike

Link to comment
Share on other sites

Thanks for the reply mike but I went into /var/www/html/oscommerce/product_review_info.php and changed the 60 to 80 and even tried 100 and it made no change. Did I go into the right file?

Link to comment
Share on other sites

Have you tried catalog/includes/boxes/reviews.php

 

// display random review box
   $review_query = tep_db_query("select substring(reviews_text, 1, 60) as reviews_text from " . TABLE_REVIEWS_DESCRIPTION . " where reviews_id = '" . (int)$random_product['reviews_id'] . "' and languages_id = '" . (int)$languages_id . "'");
   $review = tep_db_fetch_array($review_query);

change the 60 to 100

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Oh No I thought it fixed it but it didn't. Shoot 241 is there another file to change the 60 to 100? I will look around and see what I can find. I left the change you suggested and maybe if I change the other files with 60 to 100 it will fix it. crossing my fingers. let me know if you can think of anything else. Thanks again. Lisa

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...