X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Advanced Customer Reviews (https://forum.x-cart.com/showthread.php?t=66013)

Johnwiggity 02-02-2013 11:08 AM

Advanced Customer Reviews
 
I'm using the Advanced Customer Reviews and have enabled the review email to be sent 45 days after the order. This is not happenning though. When I checked the script for the module this is what it is saying.

Check if review reminder is required for order #18017: review reminder is not sent
Check if review reminder is required for order #18018: review reminder is not sent
Check if review reminder is required for order #18019: review reminder is not sent
Check if review reminder is required for order #18020: review reminder is not sent
Check if review reminder is required for order #18015: review reminder is not sent
Check if review reminder is required for order #18021: review reminder is not sent
Check if review reminder is required for order #18022: review reminder is not sent
Check if review reminder is required for order #18023: review reminder is not sent
Check if review reminder is required for order #18024: review reminder is not sent
Check if review reminder is required for order #18025: review reminder is not sent

Just an example. Any idea on why it's not sending the emails?

Thanks,

John

karina 03-01-2013 06:41 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by Johnwiggity
I'm using the Advanced Customer Reviews and have enabled the review email to be sent 45 days after the order. This is not happenning though. When I checked the script for the module this is what it is saying.

Check if review reminder is required for order #18017: review reminder is not sent
Check if review reminder is required for order #18018: review reminder is not sent
Check if review reminder is required for order #18019: review reminder is not sent
Check if review reminder is required for order #18020: review reminder is not sent
Check if review reminder is required for order #18015: review reminder is not sent
Check if review reminder is required for order #18021: review reminder is not sent
Check if review reminder is required for order #18022: review reminder is not sent
Check if review reminder is required for order #18023: review reminder is not sent
Check if review reminder is required for order #18024: review reminder is not sent
Check if review reminder is required for order #18025: review reminder is not sent

Just an example. Any idea on why it's not sending the emails?

Thanks,

John


John, sorry for not reply earlier, I've missed this post. Is the issue still actual? If yes, please, check my answer below.

The message "review reminder is not sent" means one of the following cases:
1) all products from certain order are already reviewed by the user
2) review reminder has been already sent to this user (if he/she has already purchased this product earlier).

Also please check your '<xcart_root_dir>/send_review_reminders.php' file. Find the following part of code:
PHP Code:

define('TEST_MODE'false);         // Set to true to test the script. Do not use on live server!
define('TEST_EMAIL''');           // All reviews requests notifications will be sent to this address in test mode 


If these lines of code are commented, please, uncomment them.

Johnwiggity 03-01-2013 07:08 AM

Re: Advanced Customer Reviews
 
Thanks for the help.

When I edit the file I noticed that the code is this.

//define('TEST_MODE', true); // Set to true to test the script. Do not use on live server!


I guess I just need to change it to false and everything should work properly?

John

karina 03-01-2013 07:13 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by Johnwiggity
Thanks for the help.

When I edit the file I noticed that the code is this.

//define('TEST_MODE', true); // Set to true to test the script. Do not use on live server!


I guess I just need to change it to false and everything should work properly?

John


Yes, change 'true' to 'false' and uncomment the line. Your code should look like this (both lines are uncommented):
PHP Code:

define('TEST_MODE'false);         // Set to true to test the script. Do not use on live server!
define('TEST_EMAIL''');           // All reviews requests notifications will be sent to this address in test mode 


Johnwiggity 03-01-2013 07:27 AM

Re: Advanced Customer Reviews
 
Thanks.

How would I go about seeing the reviews in queue?

John

karina 03-04-2013 05:10 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by Johnwiggity
How would I go about seeing the reviews in queue?


Do you mean review reminders queue? If yes, there is no such feature in the module.

If you want to view all reviews added by your customer (approved and pending) then click Catalog -> Customer reviews in the admin menu.

DavyMac 05-05-2013 02:15 AM

Re: Advanced Customer Reviews
 
Hi Karina,

Can you explain to me why I'm getting this report please:
"0 order(s) are checked 0 email(s) are sent"

Why is it not checking? I know there are outstanding review requests to be sent.

karina 05-06-2013 01:49 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by DavyMac
Can you explain to me why I'm getting this report please:
"0 order(s) are checked 0 email(s) are sent"

Why is it not checking? I know there are outstanding review requests to be sent.


Hello David!

I've checked reviews page on your site and it seems that new reviews (one or more) are added almost every day. So I can suggest that review reminders are sent.
Please, note if all orders are checked and review reminders are sent for all completed orders already then the script will show you:
"0 order(s) are checked 0 email(s) are sent"
I.e. review reminders are sent only once per each completed order.

Some notes about review reminders:
1. Review reminders are sent to completed orders only
2. Review reminders are sent in N days after order is placed. N days is defined by admin in the module's settings.
3.'Start send review reminder for orders with orderid equal or greater than' setting must have value '0' or at least less than your last order number.
4. Script checks 500 orders only every launch.

Also check please error logs. You can check it via admin back-end <xcart_url>/admin/logs.php or directly in file <xcart_dir>/var/log/x-errors_php-130604.php
Are there any errors related to the module?

DavyMac 05-06-2013 04:55 AM

Re: Advanced Customer Reviews
 
Thanks Karina,

You've answered my question totally, and sure enough things are working fine today.

wnc2 05-11-2013 08:26 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by karina
Hello David!

I've checked reviews page on your site and it seems that new reviews (one or more) are added almost every day. So I can suggest that review reminders are sent.
Please, note if all orders are checked and review reminders are sent for all completed orders already then the script will show you:
"0 order(s) are checked 0 email(s) are sent"
I.e. review reminders are sent only once per each completed order.

Some notes about review reminders:
1. Review reminders are sent to completed orders only
2. Review reminders are sent in N days after order is placed. N days is defined by admin in the module's settings.
3.'Start send review reminder for orders with orderid equal or greater than' setting must have value '0' or at least less than your last order number.
4. Script checks 500 orders only every launch.

Also check please error logs. You can check it via admin back-end <xcart_url>/admin/logs.php or directly in file <xcart_dir>/var/log/x-errors_php-130604.php
Are there any errors related to the module?



hi karina,

i have this problem, i can run the script manually running http://mysite/send_review_reminders.php --key=MYKEY without problems and it runs ok, it sends email to every completed order shipped 14days before, as i choosed.

but it doesn't run automatically.

the thing not clear to me is:
does the file runs automatically or i have to create a cronjob in my server?

i obviously have testmode FALSE and uncommented

DavyMac 05-11-2013 08:40 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by wnc2
the thing not clear to me is:
does the file runs automatically or i have to create a cronjob in my server?


No it doesn't run automatically, you'll need to set up a cron job :-)

wnc2 05-11-2013 09:07 AM

Re: Advanced Customer Reviews
 
Quote:

Originally Posted by DavyMac
No it doesn't run automatically, you'll need to set up a cron job :-)


thanks a lot!!


All times are GMT -8. The time now is 12:34 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.