Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: ZX Order Review [Support Thread]

    Quote Originally Posted by balihr View Post
    Sorry for the late reply, I was on vacation.

    Guest checkout is excluded from the order review emails because I personally expect NOT to be contacted about anything other than the essential communication when I choose to checkout as guest. I know it's "just" to review the order, but you could create a very long list of "justs" if you wanted to...

    Anyway, if you insist on including Guest orders to this list, you can modify your includes/classes/observers/auto.zx_order_review.php and comment lines 21 and 30:
    Code:
    //if(!zen_in_guest_checkout()) {
    	$orders_id = $p2;
    	$customers_email = $p1['customers_email_address'];
    	$token = RandomToken();
    	$sql = "INSERT INTO " . TABLE_ORDER_REVIEW . " (orders_id, customers_email, token) VALUES (:ordersID, :customersEmail, :token)";
    	$sql = $db->bindVars($sql, ':ordersID', $orders_id, 'integer');
    	$sql = $db->bindVars($sql, ':customersEmail', $customers_email, 'string');
    	$sql = $db->bindVars($sql, ':token', $token, 'string');
    	$db->Execute($sql);
    //}
    Thank you balihr,

    I commented the line 21 and 30 as shownand run the order_review.php

    However, it didn t work. No emails are being sent to the guest checkout to review their order.

    How can i make this work? Asking for reviews manually is a pity for guest account for me.

    Thank you

  2. #22
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: ZX Order Review [Support Thread]

    It will not work for previously placed orders, only orders that are placed AFTER you modified the code.

    You could clone and modify the root/order_review.php file yourself and create a custom query to look up previous orders and send out emails to "old" customers who didn't receive the invite, but this is off topic.

  3. #23
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: ZX Order Review [Support Thread]

    Quote Originally Posted by balihr View Post
    It will not work for previously placed orders, only orders that are placed AFTER you modified the code.

    You could clone and modify the root/order_review.php file yourself and create a custom query to look up previous orders and send out emails to "old" customers who didn't receive the invite, but this is off topic.
    Thank you balihr for the explanation.

  4. #24
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: ZX Order Review [Support Thread]

    I modified the link so customer are sent directly to our google Page for review instead.

    For the html version, i modified line 40 the file /includes/languages/english/bootstrap/email_extras.php with

    Code:
    Line #40 : define('EMAIL_ORDER_MESSAGE','<div id="review-google"><center>Let us know how we did by leaving us your feedback <a href="https://g.page/r/CbK8lN0u0Ic2EBM/review">here</a></center></div>');
    However, I can' t figure out how to apply the same changes to plain text version of the email.

    I tried developers tool kit with $email but no luck.

    Where and/or which file do i need to look at for the plain text version?

    Thank you for the assistance with this.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v155 Order Message Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 3 Feb 2022, 06:02 PM
  2. Products Review Reminder [Support Thread]
    By lindasdd in forum Addon Admin Tools
    Replies: 46
    Last Post: 3 Jul 2021, 02:06 PM
  3. v150 Admin New Order [Support Thread]
    By lhungil in forum Addon Admin Tools
    Replies: 121
    Last Post: 5 Feb 2021, 07:51 PM
  4. JK Order Exporter - Support Thread
    By eVelt in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Sep 2015, 07:06 AM
  5. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 PM

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