Results 1 to 10 of 126

Hybrid View

  1. #1
    Join Date
    Jan 2014
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    As a guest, when I click on write review, the next page says "Whoops! Your session has expired.". Before this I removed the Log in and My account links/code so visitors don't see anything about logging in or signing up for an account, and so when they add a item to the cart and click go to checkout, then they go straight to the checkout page to fill in their billing address, they don't get the option to log in or create an account or ask them if they want to checkout as a guest.

    If I add a product to the cart, and fill in the billing information and go to step 2 the payment page, then go back to the product page and click the write review link it will take me to the write review page. I'd like it to send you directly to that page as a visitor, so anyone can write a review of the product regardless if they purchased from my website, so they don't have to log in.

    Looks like I would have to remove some sort of code that requires the visitor to log in before they can get to the write review page. hopefully that is possible to do. thanks.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Reviews - Updated [Support Thread]

    Quote Originally Posted by tom97zr2 View Post
    As a guest, when I click on write review, the next page says "Whoops! Your session has expired.". Before this I removed the Log in and My account links/code so visitors don't see anything about logging in or signing up for an account, and so when they add a item to the cart and click go to checkout, then they go straight to the checkout page to fill in their billing address, they don't get the option to log in or create an account or ask them if they want to checkout as a guest.

    If I add a product to the cart, and fill in the billing information and go to step 2 the payment page, then go back to the product page and click the write review link it will take me to the write review page. I'd like it to send you directly to that page as a visitor, so anyone can write a review of the product regardless if they purchased from my website, so they don't have to log in.

    Looks like I would have to remove some sort of code that requires the visitor to log in before they can get to the write review page. hopefully that is possible to do. thanks.
    I installed "Reviews Updated" on a just-installed Zen Cart v1.5.1, and was able to write a review as a guest. Is the file /includes/modules/pages/product_reviews_write/header_php.php the one that ships with this plugin? The top-most portion of the file should look like:
    Code:
    // This should be first line of the script:
    $zco_notifier->notify('NOTIFY_HEADER_START_PRODUCT_REVIEWS_WRITE');
      
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    
    if (REVIEWS_BY_GUESTS != '1' && !$_SESSION['customer_id']) {
      $_SESSION['navigation']->set_snapshot();
      $messageStack->add_session('header', MESSAGE_REVIEW_WRITE_NEEDS_LOGIN, 'caution');
      zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
    }
    I'm not sure why you're being redirected to the time_out page, but I'm also not familiar with the changes that the installation of FEC has introduced to your store.

  3. #3
    Join Date
    Jan 2014
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Reviews - Updated [Support Thread]

    Yep it has that code. I deleted some code before in the common header file to get rid of the log in link, maybe I deleted too much of that code? I'll have to check after work today. Thanks

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Reviews - Updated [Support Thread]

    If you'll post your version of /includes/modules/pages/product_reviews_write/header_php.php, perhaps I could help ...

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 766
    Last Post: 18 Oct 2025, 11:23 AM
  3. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  4. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  5. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM

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