LemonStand Forum: Moderating product reviews - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Moderating product reviews

#1 User is offline   pixelsailor 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 43
  • Joined: 08-January 12
  • LocationTexas

Posted 03 February 2012 - 01:58 AM

Is there any built in method of moderating product reviews? All I can find is the basic settings and disallowing duplicate entries. We'd like to hold a review in a moderation queue until it is approved or marked as spam, etc.

As well as deleting my junk test reviews :P
0

#2 User is offline   apepp 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 233
  • Joined: 30-October 11

Posted 03 February 2012 - 07:10 PM

...well, for my test dev site, i have a reviews form, with stars etc...user adds review as normal...after approved in the backend the actual review text and stars are shown on the product page...

...this is my add review partial:

<h1>Customer Reviews</h1>

<?
  // Use $product->list_all_reviews() to get a list of all reviews
  // and $product->list_reviews() to get a list of approved reviews
  //
  $reviews = $product->list_reviews();
  if (!$reviews->count):
?>
  <p>Be the first to review this product.</p>
<? else: ?>
  <ul class="review_list">
    <? foreach ($reviews as $review): ?>
      <li>
        <h4><?= h($review->title) ?></h4>
        <p class="description">Posted by <?= h($review->author) ?> on <?= $review->created_at->format('%x') ?></p>
        <? if ($reviews->rating): ?>
            <p class="rating_info"><span class="rating_<?= $review->rating*10 ?>">&nbsp;</span></p>
        <? endif ?>
        <p class="content"><?= nl2br(h($review->review_text)) ?></p>
      </li>
    <? endforeach ?>
  </ul>
<? endif ?>



...to approve, delete unwanted reviews, and even edit reviews to spice them up a bit...you go into LS backend and go to "Products" tab...then into "Reviews":

http://www.zen63258....%2003.17.10.png


;) :D :) :P :blink:

This post has been edited by apepp: 03 February 2012 - 07:26 PM

0

#3 User is offline   pixelsailor 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 43
  • Joined: 08-January 12
  • LocationTexas

Posted 08 February 2012 - 05:22 PM

Thanks for the tip. I didn't even notice the Ratings tab hidden over there :P
0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users