Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Can't Delete customer review

    I have a customer product review i want to delete.

    Theye have left me a company testimonial instead or a product review and i want to delete the review. Informed the customer and they have now posted testimonial in the correct plce.

    Problem i have is i cant delete the review. I have turned it off but when i click delete i get the delete option again to clarify that i reaslly want to delete so i click delete again and it looks like it been deleted... but then back on admin home i have one pending review and low and behold its the review i just deleted... any ideas??

  2. #2
    Join Date
    Apr 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't Delete customer review

    I'm having the same problem. I guess no one has a solution for this. I'm going to attempt to fix it. I'll let you know if I come up with a fix. Anyone else out there have a fix for this?

  3. #3
    Join Date
    Apr 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't Delete customer review

    OK, I found a work-around. Looks like you can't delete reviews when they are filtered to 'Pending Reviews'. You can delete them when they are not filtered. Here's how to do it.

    1 - In your administration panel, click on Catalog, then Reviews
    2- Look through all of the reviews and find the one you want to delete, then click on the row for that review.
    3- Now click the Delete button.
    4- Now you should be prompted with "Are you sure you want to delete this review?" and under that question should be the name of the product review to be deleted. Click on the Delete button.
    5- Now your review should be deleted.

    The problem is that for some reason, when you click on the delete button when reviews are filtered, the id for the review gets lost. So when you click on the delete button the second time, it doesn't know what review to delete. Hope this helps!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't Delete customer review

    What version of Zen Cart are you running?

    So far, I cannot reproduce this issue in v1.3.9h ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: Can't Delete customer review

    1.3.9h

    thanks largomike that worked!!

  6. #6
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Can't Delete customer review

    I am getting the same issue. 1.3.9h. Any ideas? maybe its a setting? Iam in https in the admin?

  7. #7
    Join Date
    Mar 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Can't Delete customer review

    Think I found a solution:

    I wanted to able to delete reviews while still having them sorted by "pending", which wasn't working.

    So in reviews.php

    FIND (around line 358):



    PHP Code:
     $contents[] = array('align' => 'center''text' => '<a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=edit') . '">' zen_image_button('button_edit.gif'IMAGE_EDIT) . '</a> <a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=delete') . '">' zen_image_button('button_delete.gif'IMAGE_DELETE) . '</a> ' ' <a href="' zen_href_link(FILENAME_CATEGORIES'cPath=' zen_get_products_category_id($rInfo->products_id) . '&pID=' $rInfo->products_id) . '">' zen_image_button('button_details.gif'IMAGE_DETAILS) . '</a>'); 
    REPLACE WITH

    PHP Code:

     $contents
    [] = array('align' => 'center''text' => '<a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=edit') . '">' zen_image_button('button_edit.gif'IMAGE_EDIT) . '</a> <a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=delete&status=' $_GET['status']) .  '">' zen_image_button('button_delete.gif'IMAGE_DELETE) . '</a> ' ' <a href="' zen_href_link(FILENAME_CATEGORIES'cPath=' zen_get_products_category_id($rInfo->products_id) . '&pID=' $rInfo->products_id) . '">' zen_image_button('button_details.gif'IMAGE_DETAILS) . '</a>'); 
    I just added:

    &status=' . $_GET['status']) . ' to the delete button so that it would remember what sort you had applied.

  8. #8
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Re: Can't Delete customer review

    Quote Originally Posted by drbyday View Post
    Think I found a solution:

    I wanted to able to delete reviews while still having them sorted by "pending", which wasn't working.

    So in reviews.php

    FIND (around line 358):



    PHP Code:
     $contents[] = array('align' => 'center''text' => '<a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=edit') . '">' zen_image_button('button_edit.gif'IMAGE_EDIT) . '</a> <a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=delete') . '">' zen_image_button('button_delete.gif'IMAGE_DELETE) . '</a> ' ' <a href="' zen_href_link(FILENAME_CATEGORIES'cPath=' zen_get_products_category_id($rInfo->products_id) . '&pID=' $rInfo->products_id) . '">' zen_image_button('button_details.gif'IMAGE_DETAILS) . '</a>'); 
    REPLACE WITH

    PHP Code:

     $contents
    [] = array('align' => 'center''text' => '<a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=edit') . '">' zen_image_button('button_edit.gif'IMAGE_EDIT) . '</a> <a href="' zen_href_link(FILENAME_REVIEWS'page=' $_GET['page'] . '&rID=' $rInfo->reviews_id '&action=delete&status=' $_GET['status']) .  '">' zen_image_button('button_delete.gif'IMAGE_DELETE) . '</a> ' ' <a href="' zen_href_link(FILENAME_CATEGORIES'cPath=' zen_get_products_category_id($rInfo->products_id) . '&pID=' $rInfo->products_id) . '">' zen_image_button('button_details.gif'IMAGE_DETAILS) . '</a>'); 
    I just added:

    &status=' . $_GET['status']) . ' to the delete button so that it would remember what sort you had applied.
    Thank you for this fix. Works perfectly for me. :)

 

 

Similar Threads

  1. can't delete customer
    By charliepingpong in forum Managing Customers and Orders
    Replies: 5
    Last Post: 18 Aug 2011, 01:49 AM
  2. can't delete customer from admin
    By nitesh107 in forum General Questions
    Replies: 7
    Last Post: 7 Jun 2011, 02:00 PM
  3. Can't delete customer
    By Rob905 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Jul 2009, 04:29 AM
  4. Customer country, can't delete it
    By esl25 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Sep 2008, 03:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR