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)
-   -   Review Reminder Email (https://forum.x-cart.com/showthread.php?t=65416)

karina 11-21-2012 05:51 AM

Re: Review Reminder Email
 
Quote:

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


John, there is no such configuration setting. The link to 'reviews.php' is in the 'skin/common_files/modules/Advanced_Customer_Reviews/customer_reviews_list.tpl' file, just add 'rel=■nofollow■' code:

<a href="reviews.php" rel=■nofollow■>{$lng.lbl_acr_read_all_reviews}</a>

Johnwiggity 11-21-2012 05:57 AM

Re: Review Reminder Email
 
Ok thanks a lot. Do you have an opinion on this? It seems like some of the reviews will be shown on 2 different pages the way it is configured and Google will probably see it as duplicates.

not_so_young_greg 11-21-2012 07:17 AM

Re: Review Reminder Email
 
Thanks Karina again. I managed to get it going with your fixes.
I know it does not insert an Y in test mode - the problem was it did not want to do anything in real mode either. Now it does.
But it still does not want to see any language variables nor include any mail templates. (Mail templates are original and I checked them for errors - seem ok) I managed to do it by hard writing text into mail templates and copying all included files (like mail_header.tpl and others).
Maybe it is because I ran it from the top? But it is suggested in x-cart manual. Maybe it has something to do with permissions?

But it is a bit, well... suprising - it is a fresh installation of 4.5.3 updated to 4.5.4 on Apache server, php 5.2.13. Should work out of the box.
But anyway thanks for your time again.

karina 11-22-2012 06:57 AM

Re: Review Reminder Email
 
Quote:

Originally Posted by Johnwiggity
Ok thanks a lot. Do you have an opinion on this? It seems like some of the reviews will be shown on 2 different pages the way it is configured and Google will probably see it as duplicates.

Yes, it will be better to have it by default. We will add nofollow to the module's file. Thank you!

DavyMac 12-12-2012 05:52 AM

Re: Review Reminder Email
 
I am currently testing ACR and have uncommented the two lines of code in send_review_reminders.php to put the module into test mode and then have invoked the file by entering the URL in the address bar of my browser using the following syntax:
{rootURL}/send_review_reminders.php?key="key value"

My first reaction is the lack of feedback when I invoke the file - the page goes blank without any comfort messages reported. Is that correct behaviour?
Then I don't recieve any review reminder emails.

I assume there have to be orders that are set to dispatched for this module to function, in which case is it possible to set the "Send review reminder to customer in N days" to zero to send the reminder to orders that have only just been set to dispatched?

not_so_young_greg 12-12-2012 06:07 AM

Re: Review Reminder Email
 
The result page should not go blank. You should get something like :"x orders checked, x remainders sent".
In my case the above message was displayed but nothing was sent.
The second fix Karina posted worked for me.

DavyMac 12-12-2012 06:35 AM

Re: Review Reminder Email
 
Thanks for the feedback. I'll give Karina's 2nd fix a go.

DavyMac 12-17-2012 04:16 AM

Re: Review Reminder Email
 
I'm having no success invoking {rootURL}/send_review_reminders.php?key="key value"
in Test Mode. The instructions are straight forward so I'm sure I've not done anything wrong BUT when I type the command in the browser address bar nothing happens: I do not see "x orders checked, x remainders sent" etc just a blank page.

Just to be clear I have uncommented out the two lines in send_review_reminders.php so that it reads
PHP Code:

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


and I invoke the file by entering {rootURL}/send_review_reminders.php?key="key value" into the address bar of my browser.

Any suggestions please?

DavyMac 12-17-2012 07:37 AM

Re: Review Reminder Email
 
I've been stepping through the code and "re-discovered" that when you store a URL in a Microsoft document, such as Outlook mail, it inserts a space character just before the key string!!

That was my problem, the URL I was copying from a draft email and pasting into the address bar had a superfluous space character inserted before the key.

Well, there we go.

DavyMac 01-23-2013 05:32 AM

Re: Review Reminder Email
 
Within the review reminder email I'd like to include the customer's email address in the link to the add_review.php page so that as well as automatically adding their name to the author field it will add their email address to the email address field for them.

Does anybody see a way of doing this?


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

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