Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Review Reminder Email

 
Reply
   X-Cart forums > X-Cart 4 > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-20-2012, 04:06 AM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default Review Reminder Email

I'm trying to modify the Advanced Customer Reviews Review Reminder Email that would be sent.

One, will it send to all customers, or those who have created an account?

Two, where do I modify the review reminder email at?

Thanks.
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #2  
Old 11-20-2012, 05:53 AM
 
not_so_young_greg not_so_young_greg is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 38
 

Default Re: Review Reminder Email

Well, in my case it does not send remainders at all. It shows that they were sent but I find nothing in my mailbox. It works fine in test mode though.
Anybody knows what I am doing wrong?
__________________
4.0.17
Reply With Quote
  #3  
Old 11-20-2012, 06:15 AM
  karina's Avatar 
karina karina is offline
 

X-Cart team
  
Join Date: Jul 2009
Posts: 123
 

Default Re: Review Reminder Email

Quote:
Originally Posted by Johnwiggity
One, will it send to all customers, or those who have created an account?

Yes, reminders will be send to all customers. It doesn't matter if they are registered customers or anonymous.

Quote:
Originally Posted by Johnwiggity
Two, where do I modify the review reminder email at?

Review reminder email can be changed in the 'skin/common_files/mail/html/acr_review_reminder.tpl' file. Please do not forget about the plain template 'skin/common_files/mail/acr_review_reminder.tpl. It should be changed too.
__________________
Karina Lipnyagova

The "Advanced Customer Reviews", "Root Categories" and "Pop-up Anywhere" author
Reply With Quote
  #4  
Old 11-20-2012, 06:38 AM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default Re: Review Reminder Email

Thanks.

Is there a language file that is associated with the email text? Also how would I go about testing the email?
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #5  
Old 11-20-2012, 06:43 AM
  karina's Avatar 
karina karina is offline
 

X-Cart team
  
Join Date: Jul 2009
Posts: 123
 

Default Re: Review Reminder Email

Quote:
Originally Posted by not_so_young_greg
Well, in my case it does not send remainders at all. It shows that they were sent but I find nothing in my mailbox. It works fine in test mode though.
Anybody knows what I am doing wrong?

There are two possible solutions
1. Check your 'send_review_reminders.php' file. If you find such part of code:
PHP Code:
//define('TEST_MODE', true);
//define('TEST_EMAIL', 'testemail@example.com'); 

then uncomment it and replace with:

PHP Code:
define('TEST_MODE'false);
define('TEST_EMAIL'''); 


---- OR -----

2. In the 'send_review_reminders.php' file find the following part of code:
PHP Code:
$result func_acr_send_review_reminders(ORDERS_PER_LAUNCHTEST_MODETEST_EMAIL); 

and replace it with:

PHP Code:
$result func_acr_send_review_reminders(
    
func_constant('ORDERS_PER_LAUNCH'),
    
func_constant('TEST_MODE'),
    
func_constant('TEST_EMAIL')
); 
__________________
Karina Lipnyagova

The "Advanced Customer Reviews", "Root Categories" and "Pop-up Anywhere" author
Reply With Quote
  #6  
Old 11-20-2012, 07:06 AM
  karina's Avatar 
karina karina is offline
 

X-Cart team
  
Join Date: Jul 2009
Posts: 123
 

Default Re: Review Reminder Email

Quote:
Originally Posted by Johnwiggity
Is there a language file that is associated with the email text?

The 'txt_acr_add_products_reviews' variable is used in this template.

By the way the content of this template can be changed with 'Edit templates' feature in your admin area:
<your_xcart_store>/admin/file_edit.php?dir=%2Fcommon_files%2Fmail%2Fhtml&fi le=%2Fcommon_files%2Fmail%2Fhtml%2Facr_review_remi nder.tpl

Quote:
Originally Posted by Johnwiggity
Also how would I go about testing the email?

Default email is:
http://help.x-cart.com/images/7/72/Acr_review_reminder_email.gif

In my test store I use the following part of code in the '<xcart_root_dir>/send_review_reminders.php' file:
PHP Code:
define('TEST_MODE'true);
define('TEST_EMAIL''mytestemail@example.com'); 

In test mode emails will be sent to the specified TEST_EMAIL only and for ALL orders. I do not recommend use it on the live store.
__________________
Karina Lipnyagova

The "Advanced Customer Reviews", "Root Categories" and "Pop-up Anywhere" author
Reply With Quote
  #7  
Old 11-20-2012, 07:20 AM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default Re: Review Reminder Email

Thanks a lot!

John
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #8  
Old 11-20-2012, 07:40 AM
 
not_so_young_greg not_so_young_greg is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 38
 

Default Re: Review Reminder Email

Thanks for quick reply. Yes, the second solution seems to work, I commented out the first two lines though. But it sent a reminder and inserted an Y into my database. Need to test it more but we are almost there.

But it still does not include mail templates. I receive a mail with only product listing and bottom signature. Link is ok.

I get this in my log:
Warning: Smarty error: unable to read resource: "skin/common_files/mail/salutation.tpl" in /var/www/...
but it is there and always has been.
Second, the mail template uses a different coding for some reason.
Could you help me with that?
__________________
4.0.17
Reply With Quote
  #9  
Old 11-20-2012, 07:49 AM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default Re: Review Reminder Email

One final question is that can I set the reviews.php page to nofollow to avoid SEO duplicate content?

John
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #10  
Old 11-21-2012, 05:37 AM
  karina's Avatar 
karina karina is offline
 

X-Cart team
  
Join Date: Jul 2009
Posts: 123
 

Default Re: Review Reminder Email

Quote:
Originally Posted by not_so_young_greg
Thanks for quick reply. Yes, the second solution seems to work, I commented out the first two lines though. But it sent a reminder and inserted an Y into my database. Need to test it more but we are almost there.


If TEST_MODE is 'true' then database is not updated. If TEST_MODE is 'false' then database will be updated with 'Y' in 'xcart_orders' table.

But you can delete these updates with the following SQL-queries:
PHP Code:
DELETE FROM xcart_product_review_reminders;
UPDATE xcart_orders SET review_reminder='N'

As you can see both queries are without any conditions, so ALL reminders that were sent earlier will be deleted. Be careful, use it on the test store only please.


---

Quote:
Originally Posted by not_so_young_greg
But it still does not include mail templates. I receive a mail with only product listing and bottom signature. Link is ok.

I get this in my log:
Warning: Smarty error: unable to read resource: "skin/common_files/mail/salutation.tpl" in /var/www/...
but it is there and always has been.
Second, the mail template uses a different coding for some reason.
Could you help me with that?

I suggest to compare reminder template with another one. As example with customer registration notification ('signin_notification.tpl') template, because it also includes 'salutation.tpl'. And also check that customer registration notification email is correct. May be it's the common issue?

But unfortunately I can't say more exactly what is wrong. It will be better if you contact with our support team via helpdesk, they will be glad to help you.
__________________
Karina Lipnyagova

The "Advanced Customer Reviews", "Root Categories" and "Pop-up Anywhere" author
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:02 PM.

   

 
X-Cart forums © 2001-2020